<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Changelog &mdash; Python 3.4.3 documentation</title>
    
    <link rel="stylesheet" href="../_static/pydoctheme.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '3.4.3',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/sidebar.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="Search within Python 3.4.3 documentation"
          href="../_static/opensearch.xml"/>
    <link rel="author" title="About these documents" href="../about.html" />
    <link rel="copyright" title="Copyright" href="../copyright.html" />
    <link rel="top" title="Python 3.4.3 documentation" href="../index.html" />
    <link rel="up" title="What’s New in Python" href="index.html" />
    <link rel="next" title="The Python Tutorial" href="../tutorial/index.html" />
    <link rel="prev" title="What’s New in Python 2.0" href="2.0.html" />
    <link rel="shortcut icon" type="image/png" href="../_static/py.png" />
    <script type="text/javascript" src="../_static/copybutton.js"></script>
    <script type="text/javascript" src="../_static/version_switch.js"></script>
    
    <script type="text/javascript">
      $(document).ready(function() {
          // add the search form and bind the events
          $('h1').after([
            '<p>Filter entries by content:',
            '<input type="text" value="" id="searchbox" style="width: 50%">',
            '<input type="submit" id="searchbox-submit" value="Filter"></p>'
          ].join('\n'));

          function dofilter() {
              try {
                  var query = new RegExp($('#searchbox').val(), 'i');
              }
              catch (e) {
                  return; // not a valid regex (yet)
              }
              // find headers for the versions (What's new in Python X.Y.Z?)
              $('#changelog h2').each(function(index1, h2) {
                  var h2_parent = $(h2).parent();
                  var sections_found = 0;
                  // find headers for the sections (Core, Library, etc.)
                  h2_parent.find('h3').each(function(index2, h3) {
                      var h3_parent = $(h3).parent();
                      var entries_found = 0;
                      // find all the entries
                      h3_parent.find('li').each(function(index3, li) {
                          var li = $(li);
                          // check if the query matches the entry
                          if (query.test(li.text())) {
                              li.show();
                              entries_found++;
                          }
                          else {
                              li.hide();
                          }
                      });
                      // if there are entries, show the section, otherwise hide it
                      if (entries_found > 0) {
                          h3_parent.show();
                          sections_found++;
                      }
                      else {
                          h3_parent.hide();
                      }
                  });
                  if (sections_found > 0)
                      h2_parent.show();
                  else
                      h2_parent.hide();
              });
          }
          $('#searchbox').keyup(dofilter);
          $('#searchbox-submit').click(dofilter);
      });
    </script>
    
 

  </head>
  <body>  
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="../tutorial/index.html" title="The Python Tutorial"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="2.0.html" title="What’s New in Python 2.0"
             accesskey="P">previous</a> |</li>
        <li><img src="../_static/py.png" alt=""
                 style="vertical-align: middle; margin-top: -1px"/></li>
        <li><a href="https://www.python.org/">Python</a> &raquo;</li>
        <li>
          <span class="version_switcher_placeholder">3.4.3</span>
          <a href="../index.html">Documentation</a> &raquo;
        </li>

          <li><a href="index.html" accesskey="U">What&#8217;s New in Python</a> &raquo;</li> 
      </ul>
    </div>    

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="changelog">
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
<div class="section" id="python-3-4-4rc1">
<h2>Python 3.4.4rc1<a class="headerlink" href="#python-3-4-4rc1" title="Permalink to this headline">¶</a></h2>
<p>Release date: tba</p>
<div class="section" id="core-and-builtins">
<h3>Core and Builtins<a class="headerlink" href="#core-and-builtins" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/24891">Issue #24891</a>: Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.</li>
<li><a class="reference external" href="https://bugs.python.org/21167">Issue #21167</a>: NAN operations are now handled correctly when python is
compiled with ICC even if -fp-model strict is not specified.</li>
<li><a class="reference external" href="https://bugs.python.org/4395">Issue #4395</a>: Better testing and documentation of binary operators.
Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/24467">Issue #24467</a>: Fixed possible buffer over-read in bytearray. The bytearray
object now always allocates place for trailing null byte and it&#8217;s buffer now
is always null-terminated.</li>
<li><a class="reference external" href="https://bugs.python.org/24115">Issue #24115</a>: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/24257">Issue #24257</a>: Fixed system error in the comparison of faked
types.SimpleNamespace.</li>
<li><a class="reference external" href="https://bugs.python.org/22939">Issue #22939</a>: Fixed integer overflow in iterator object.  Patch by
Clement Rouault.</li>
<li><a class="reference external" href="https://bugs.python.org/23985">Issue #23985</a>: Fix a possible buffer overrun when deleting a slice from
the front of a bytearray and then appending some other bytes data.</li>
<li><a class="reference external" href="https://bugs.python.org/24102">Issue #24102</a>: Fixed exception type checking in standard error handlers.</li>
<li><a class="reference external" href="https://bugs.python.org/23757">Issue #23757</a>: PySequence_Tuple() incorrectly called the concrete list API
when the data was a list subclass.</li>
<li><a class="reference external" href="https://bugs.python.org/24407">Issue #24407</a>: Fix crash when dict is mutated while being updated.</li>
<li><a class="reference external" href="https://bugs.python.org/24096">Issue #24096</a>: Make warnings.warn_explicit more robust against mutation of the
warnings.filters list.</li>
<li><a class="reference external" href="https://bugs.python.org/23996">Issue #23996</a>: Avoid a crash when a delegated generator raises an
unnormalized StopIteration exception.  Patch by Stefan Behnel.</li>
<li><a class="reference external" href="https://bugs.python.org/24022">Issue #24022</a>: Fix tokenizer crash when processing undecodable source code.</li>
<li><a class="reference external" href="https://bugs.python.org/23309">Issue #23309</a>: Avoid a deadlock at shutdown if a daemon thread is aborted
while it is holding a lock to a buffered I/O object, and the main thread
tries to use the same I/O object (typically stdout or stderr).  A fatal
error is emitted instead.</li>
<li><a class="reference external" href="https://bugs.python.org/22977">Issue #22977</a>: Fixed formatting Windows error messages on Wine.
Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/23803">Issue #23803</a>: Fixed str.partition() and str.rpartition() when a separator
is wider then partitioned string.</li>
<li><a class="reference external" href="https://bugs.python.org/23192">Issue #23192</a>: Fixed generator lambdas.  Patch by Bruno Cauet.</li>
<li><a class="reference external" href="https://bugs.python.org/23629">Issue #23629</a>: Fix the default __sizeof__ implementation for variable-sized
objects.</li>
<li><a class="reference external" href="https://bugs.python.org/24044">Issue #24044</a>: Fix possible null pointer dereference in list.sort in out of
memory conditions.</li>
<li><a class="reference external" href="https://bugs.python.org/21354">Issue #21354</a>: PyCFunction_New function is exposed by python DLL again.</li>
<li><a class="reference external" href="https://bugs.python.org/23812">Issue #23812</a>: Fix asyncio.Queue.get() to avoid loosing items on cancellation.
Patch by Gustavo J. A. M. Carneiro.</li>
</ul>
</div>
<div class="section" id="library">
<h3>Library<a class="headerlink" href="#library" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/24982">Issue #24982</a>: shutil.make_archive() with the &#8220;zip&#8221; format now adds entries
for directories (including empty directories) in ZIP file.</li>
<li><a class="reference external" href="https://bugs.python.org/25019">Issue #25019</a>: Fixed a crash caused by setting non-string key of expat parser.
Based on patch by John Leitch.</li>
<li><a class="reference external" href="https://bugs.python.org/24917">Issue #24917</a>: time_strftime() buffer over-read.</li>
<li><a class="reference external" href="https://bugs.python.org/23144">Issue #23144</a>: Make sure that HTMLParser.feed() returns all the data, even
when convert_charrefs is True.</li>
<li><a class="reference external" href="https://bugs.python.org/16180">Issue #16180</a>: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop.  Patch by Xavier de Gaye.</li>
<li><a class="reference external" href="https://bugs.python.org/21112">Issue #21112</a>: Fix regression in unittest.expectedFailure on subclasses.
Patch from Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/24931">Issue #24931</a>: Instances of subclasses of namedtuples have their own __dict__
which breaks the inherited __dict__ property and breaks the _asdict() method.
Removed the __dict__ property to prevent the conflict and fixed _asdict().</li>
<li><a class="reference external" href="https://bugs.python.org/24764">Issue #24764</a>: cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.</li>
<li><a class="reference external" href="https://bugs.python.org/24774">Issue #24774</a>: Fix docstring in http.server.test. Patch from Chiu-Hsiang Hsu.</li>
<li><a class="reference external" href="https://bugs.python.org/21159">Issue #21159</a>: Improve message in configparser.InterpolationMissingOptionError.
Patch from Łukasz Langa.</li>
<li><a class="reference external" href="https://bugs.python.org/23888">Issue #23888</a>: Handle fractional time in cookie expiry. Patch by ssh.</li>
<li><a class="reference external" href="https://bugs.python.org/23004">Issue #23004</a>: mock_open() now reads binary data correctly when the type of
read_data is bytes.  Initial patch by Aaron Hill.</li>
<li><a class="reference external" href="https://bugs.python.org/23652">Issue #23652</a>: Make it possible to compile the select module against the
libc headers from the Linux Standard Base, which do not include some
EPOLL macros.  Patch by Matt Frank.</li>
<li><a class="reference external" href="https://bugs.python.org/22932">Issue #22932</a>: Fix timezones in email.utils.formatdate.
Patch from Dmitry Shachnev.</li>
<li><a class="reference external" href="https://bugs.python.org/23779">Issue #23779</a>: imaplib raises TypeError if authenticator tries to abort.
Patch from Craig Holmquist.</li>
<li><a class="reference external" href="https://bugs.python.org/23319">Issue #23319</a>: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
written by Matthieu Gautier.</li>
<li><a class="reference external" href="https://bugs.python.org/23254">Issue #23254</a>: Document how to close the TCPServer listening socket.
Patch from Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/19450">Issue #19450</a>: Update Windows and OS X installer builds to use SQLite 3.8.11.</li>
<li><a class="reference external" href="https://bugs.python.org/23441">Issue #23441</a>: rcompleter now prints a tab character instead of displaying
possible completions for an empty word.  Initial patch by Martin Sekera.</li>
<li><a class="reference external" href="https://bugs.python.org/24735">Issue #24735</a>: Fix invalid memory access in
itertools.combinations_with_replacement().</li>
<li><a class="reference external" href="https://bugs.python.org/17527">Issue #17527</a>: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.</li>
<li><a class="reference external" href="https://bugs.python.org/24683">Issue #24683</a>: Fixed crashes in _json functions called with arguments of
inappropriate type.</li>
<li><a class="reference external" href="https://bugs.python.org/21697">Issue #21697</a>: shutil.copytree() now correctly handles symbolic links that
point to directories.  Patch by Eduardo Seabra and Thomas Kluyver.</li>
<li><a class="reference external" href="https://bugs.python.org/24620">Issue #24620</a>: Random.setstate() now validates the value of state last element.</li>
<li><a class="reference external" href="https://bugs.python.org/22153">Issue #22153</a>: Improve unittest docs. Patch from Martin Panter and evilzero.</li>
<li><a class="reference external" href="https://bugs.python.org/24206">Issue #24206</a>: Fixed __eq__ and __ne__ methods of inspect classes.</li>
<li><a class="reference external" href="https://bugs.python.org/21750">Issue #21750</a>: mock_open.read_data can now be read from each instance, as it
could in Python 3.3.</li>
<li><a class="reference external" href="https://bugs.python.org/23247">Issue #23247</a>: Fix a crash in the StreamWriter.reset() of CJK codecs.</li>
<li><a class="reference external" href="https://bugs.python.org/18622">Issue #18622</a>: unittest.mock.mock_open().reset_mock would recurse infinitely.
Patch from Nicola Palumbo and Laurent De Buyst.</li>
<li><a class="reference external" href="https://bugs.python.org/24608">Issue #24608</a>: chunk.Chunk.read() now always returns bytes, not str.</li>
<li><a class="reference external" href="https://bugs.python.org/18684">Issue #18684</a>: Fixed reading out of the buffer in the re module.</li>
<li><a class="reference external" href="https://bugs.python.org/24259">Issue #24259</a>: tarfile now raises a ReadError if an archive is truncated
inside a data segment.</li>
<li><a class="reference external" href="https://bugs.python.org/24552">Issue #24552</a>: Fix use after free in an error case of the _pickle module.</li>
<li><a class="reference external" href="https://bugs.python.org/24514">Issue #24514</a>: tarfile now tolerates number fields consisting of only
whitespace.</li>
<li><a class="reference external" href="https://bugs.python.org/19176">Issue #19176</a>: Fixed doctype() related bugs in C implementation of ElementTree.
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method.  Direct call of doctype() now issues a warning.  Parser&#8217;s
doctype() now is not called if target&#8217;s doctype() is called.  Based on patch
by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/20387">Issue #20387</a>: Restore semantic round-trip correctness in tokenize/untokenize
for tab-indented blocks.</li>
<li><a class="reference external" href="https://bugs.python.org/24456">Issue #24456</a>: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
functions of the audioop module.</li>
<li><a class="reference external" href="https://bugs.python.org/24336">Issue #24336</a>: The contextmanager decorator now works with functions with
keyword arguments called &#8220;func&#8221; and &#8220;self&#8221;.  Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/24489">Issue #24489</a>: ensure a previously set C errno doesn&#8217;t disturb cmath.polar().</li>
<li><a class="reference external" href="https://bugs.python.org/5633">Issue #5633</a>: Fixed timeit when the statement is a string and the setup is not.</li>
<li><a class="reference external" href="https://bugs.python.org/24326">Issue #24326</a>: Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.</li>
<li><a class="reference external" href="https://bugs.python.org/23840">Issue #23840</a>: tokenize.open() now closes the temporary binary file on error
to fix a resource warning.</li>
<li><a class="reference external" href="https://bugs.python.org/24257">Issue #24257</a>: Fixed segmentation fault in sqlite3.Row constructor with faked
cursor type.</li>
<li><a class="reference external" href="https://bugs.python.org/22107">Issue #22107</a>: tempfile.gettempdir() and tempfile.mkdtemp() now try again
when a directory with the chosen name already exists on Windows as well as
on Unix.  tempfile.mkstemp() now fails early if parent directory is not
valid (not exists or is a file) on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/6598">Issue #6598</a>: Increased time precision and random number range in
email.utils.make_msgid() to strengthen the uniqueness of the message ID.</li>
<li><a class="reference external" href="https://bugs.python.org/24091">Issue #24091</a>: Fixed various crashes in corner cases in C implementation of
ElementTree.</li>
<li><a class="reference external" href="https://bugs.python.org/21931">Issue #21931</a>: msilib.FCICreate() now raises TypeError in the case of a bad
argument instead of a ValueError with a bogus FCI error number.
Patch by Jeffrey Armstrong.</li>
<li><a class="reference external" href="https://bugs.python.org/23796">Issue #23796</a>: peek and read1 methods of BufferedReader now raise ValueError
if they called on a closed object. Patch by John Hergenroeder.</li>
<li><a class="reference external" href="https://bugs.python.org/24521">Issue #24521</a>: Fix possible integer overflows in the pickle module.</li>
<li><a class="reference external" href="https://bugs.python.org/22931">Issue #22931</a>: Allow &#8216;[&#8216; and &#8216;]&#8217; in cookie values.</li>
<li><a class="reference external" href="https://bugs.python.org/20274">Issue #20274</a>: Remove ignored and erroneous &#8220;kwargs&#8221; parameters from three
METH_VARARGS methods on _sqlite.Connection.</li>
<li><a class="reference external" href="https://bugs.python.org/24094">Issue #24094</a>: Fix possible crash in json.encode with poorly behaved dict
subclasses.</li>
<li>Asyncio issue 222 / PR 231 (Victor Stinner) &#8211; fix &#64;coroutine
functions without __name__.</li>
<li><a class="reference external" href="https://bugs.python.org/9246">Issue #9246</a>: On POSIX, os.getcwd() now supports paths longer than 1025 bytes.
Patch written by William Orr.</li>
<li>The keywords attribute of functools.partial is now always a dictionary.</li>
<li>Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq&#8217;s siftup
and siftdown functions.</li>
<li>Backport collections.deque fixes from Python 3.5.  Prevents reentrant badness
during deletion by deferring the decref until the container has been restored
to a consistent state.</li>
<li><a class="reference external" href="https://bugs.python.org/23008">Issue #23008</a>: Fixed resolving attributes with boolean value is False in pydoc.</li>
<li>Fix asyncio issue 235: LifoQueue and PriorityQueue&#8217;s put didn&#8217;t
increment unfinished tasks (this bug was introduced in 3.4.3 when
JoinableQueue was merged with Queue).</li>
<li><a class="reference external" href="https://bugs.python.org/23908">Issue #23908</a>: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.</li>
<li><a class="reference external" href="https://bugs.python.org/23728">Issue #23728</a>: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.</li>
<li><a class="reference external" href="https://bugs.python.org/23811">Issue #23811</a>: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.</li>
<li><a class="reference external" href="https://bugs.python.org/17898">Issue #17898</a>: Fix exception in gettext.py when parsing certain plural forms.</li>
<li><a class="reference external" href="https://bugs.python.org/22982">Issue #22982</a>: Improve BOM handling when seeking to multiple positions of
a writable text file.</li>
<li><a class="reference external" href="https://bugs.python.org/23865">Issue #23865</a>: close() methods in multiple modules now are idempotent and more
robust at shutdown. If they need to release multiple resources, all are
released even if errors occur.</li>
<li><a class="reference external" href="https://bugs.python.org/23881">Issue #23881</a>: urllib.request.ftpwrapper constructor now closes the socket if
the FTP connection failed to fix a ResourceWarning.</li>
<li><a class="reference external" href="https://bugs.python.org/23400">Issue #23400</a>: Raise same exception on both Python 2 and 3 if sem_open is not
available.  Patch by Davin Potts.</li>
<li><a class="reference external" href="https://bugs.python.org/15133">Issue #15133</a>: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
returns bool.  tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj).  tkinter.BooleanVar.get() now always returns bool.</li>
<li><a class="reference external" href="https://bugs.python.org/23338">Issue #23338</a>: Fixed formatting ctypes error messages on Cygwin.
Patch by Makoto Kato.</li>
<li><a class="reference external" href="https://bugs.python.org/16840">Issue #16840</a>: Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.</li>
<li><a class="reference external" href="https://bugs.python.org/23834">Issue #23834</a>: Fix socket.sendto(), use the C Py_ssize_t type to store the
result of sendto() instead of the C int type.</li>
<li><a class="reference external" href="https://bugs.python.org/21526">Issue #21526</a>: Tkinter now supports new boolean type in Tcl 8.5.</li>
<li><a class="reference external" href="https://bugs.python.org/23838">Issue #23838</a>: linecache now clears the cache and returns an empty result on
MemoryError.</li>
<li><a class="reference external" href="https://bugs.python.org/18473">Issue #18473</a>: Fixed 2to3 and 3to2 compatible pickle mappings.  Fixed
ambigious reverse mappings.  Added many new mappings.  Import mapping is no
longer applied to modules already mapped with full name mapping.</li>
<li><a class="reference external" href="https://bugs.python.org/23745">Issue #23745</a>: The new email header parser now handles duplicate MIME
parameter names without error, similar to how get_param behaves.</li>
<li><a class="reference external" href="https://bugs.python.org/23792">Issue #23792</a>: Ignore KeyboardInterrupt when the pydoc pager is active.
This mimics the behavior of the standard unix pagers, and prevents
pipepager from shutting down while the pager itself is still running.</li>
<li><a class="reference external" href="https://bugs.python.org/23742">Issue #23742</a>: ntpath.expandvars() no longer loses unbalanced single quotes.</li>
<li><a class="reference external" href="https://bugs.python.org/21802">Issue #21802</a>: The reader in BufferedRWPair now is closed even when closing
writer failed in BufferedRWPair.close().</li>
<li><a class="reference external" href="https://bugs.python.org/23671">Issue #23671</a>: string.Template now allows to specify the &#8220;self&#8221; parameter as
keyword argument.  string.Formatter now allows to specify the &#8220;self&#8221; and
the &#8220;format_string&#8221; parameters as keyword arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/21560">Issue #21560</a>: An attempt to write a data of wrong type no longer cause
GzipFile corruption.  Original patch by Wolfgang Maier.</li>
<li><a class="reference external" href="https://bugs.python.org/23647">Issue #23647</a>: Increase impalib&#8217;s MAXLINE to accommodate modern mailbox sizes.</li>
<li><a class="reference external" href="https://bugs.python.org/23539">Issue #23539</a>: If body is None, http.client.HTTPConnection.request now sets
Content-Length to 0 for PUT, POST, and PATCH headers to avoid 411 errors from
some web servers.</li>
<li><a class="reference external" href="https://bugs.python.org/22351">Issue #22351</a>: The nntplib.NNTP constructor no longer leaves the connection
and socket open until the garbage collector cleans them up.  Patch by
Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/23136">Issue #23136</a>: _strptime now uniformly handles all days in week 0, including
Dec 30 of previous year.  Based on patch by Jim Carroll.</li>
<li><a class="reference external" href="https://bugs.python.org/23700">Issue #23700</a>: Iterator of NamedTemporaryFile now keeps a reference to
NamedTemporaryFile instance.  Patch by Bohuslav Kabrda.</li>
<li><a class="reference external" href="https://bugs.python.org/22903">Issue #22903</a>: The fake test case created by unittest.loader when it fails
importing a test module is now picklable.</li>
<li><a class="reference external" href="https://bugs.python.org/23568">Issue #23568</a>: Add rdivmod support to MagicMock() objects.
Patch by Håkan Lövdahl.</li>
<li><a class="reference external" href="https://bugs.python.org/23138">Issue #23138</a>: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.</li>
<li><a class="reference external" href="https://bugs.python.org/23051">Issue #23051</a>: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.</li>
<li><a class="reference external" href="https://bugs.python.org/22928">Issue #22928</a>: Disabled HTTP header injections in http.client.
Original patch by Demian Brecht.</li>
<li><a class="reference external" href="https://bugs.python.org/23615">Issue #23615</a>: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.</li>
<li><a class="reference external" href="https://bugs.python.org/23476">Issue #23476</a>: In the ssl module, enable OpenSSL&#8217;s X509_V_FLAG_TRUSTED_FIRST
flag on certificate stores when it is available.</li>
<li><a class="reference external" href="https://bugs.python.org/23576">Issue #23576</a>: Avoid stalling in SSL reads when EOF has been reached in the
SSL layer but the underlying connection hasn&#8217;t been closed.</li>
<li><a class="reference external" href="https://bugs.python.org/23504">Issue #23504</a>: Added an __all__ to the types module.</li>
<li><a class="reference external" href="https://bugs.python.org/20204">Issue #20204</a>: Added the __module__ attribute to _tkinter classes.</li>
<li><a class="reference external" href="https://bugs.python.org/23521">Issue #23521</a>: Corrected pure python implementation of timedelta division.</li>
</ul>
<blockquote>
<div><ul class="simple">
<li>Eliminated OverflowError from timedelta * float for some floats;</li>
<li>Corrected rounding in timedlta true division.</li>
</ul>
</div></blockquote>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21619">Issue #21619</a>: Popen objects no longer leave a zombie after exit in the with
statement if the pipe was broken.  Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/6639">Issue #6639</a>: Module-level turtle functions no longer raise TclError after
closing the window.</li>
<li>Issues #814253, #9179: Warnings now are raised when group references and
conditional group references are used in lookbehind assertions in regular
expressions.</li>
<li><a class="reference external" href="https://bugs.python.org/23215">Issue #23215</a>: Multibyte codecs with custom error handlers that ignores errors
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.</li>
<li><a class="reference external" href="https://bugs.python.org/5700">Issue #5700</a>: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.</li>
<li><a class="reference external" href="https://bugs.python.org/23374">Issue #23374</a>: Fixed pydoc failure with non-ASCII files when stdout encoding
differs from file system encoding (e.g. on Mac OS).</li>
<li><a class="reference external" href="https://bugs.python.org/23481">Issue #23481</a>: Remove RC4 from the SSL module&#8217;s default cipher list.</li>
<li><a class="reference external" href="https://bugs.python.org/21548">Issue #21548</a>: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty
docstrings.</li>
<li><a class="reference external" href="https://bugs.python.org/22885">Issue #22885</a>: Fixed arbitrary code execution vulnerability in the dbm.dumb
module.  Original patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/23146">Issue #23146</a>: Fix mishandling of absolute Windows paths with forward
slashes in pathlib.</li>
<li><a class="reference external" href="https://bugs.python.org/23421">Issue #23421</a>: Fixed compression in tarfile CLI.  Patch by wdv4758h.</li>
<li><a class="reference external" href="https://bugs.python.org/23367">Issue #23367</a>: Fix possible overflows in the unicodedata module.</li>
<li><a class="reference external" href="https://bugs.python.org/23361">Issue #23361</a>: Fix possible overflow in Windows subprocess creation code.</li>
<li><a class="reference external" href="https://bugs.python.org/23801">Issue #23801</a>: Fix issue where cgi.FieldStorage did not always ignore the
entire preamble to a multipart body.</li>
<li><a class="reference external" href="https://bugs.python.org/23310">Issue #23310</a>: Fix MagicMock&#8217;s initializer to work with __methods__, just
like configure_mock().  Patch by Kasia Jachim.</li>
<li>asyncio: New event loop APIs: set_task_factory() and get_task_factory().</li>
<li>asyncio: async() function is deprecated in favour of ensure_future().</li>
<li><a class="reference external" href="https://bugs.python.org/23898">Issue #23898</a>: Fix inspect.classify_class_attrs() to support attributes
with overloaded __eq__ and __bool__.  Patch by Mike Bayer.</li>
<li><a class="reference external" href="https://bugs.python.org/24298">Issue #24298</a>: Fix inspect.signature() to correctly unwrap wrappers
around bound methods.</li>
<li><a class="reference external" href="https://bugs.python.org/23572">Issue #23572</a>: Fixed functools.singledispatch on classes with falsy
metaclasses.  Patch by Ethan Furman.</li>
</ul>
</div>
<div class="section" id="idle">
<h3>IDLE<a class="headerlink" href="#idle" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23672">Issue #23672</a>: Allow Idle to edit and run files with astral chars in name.
Patch by Mohd Sanad Zaki Rizvi.</li>
<li>Issue 24745: Idle editor default font. Switch from Courier to
platform-sensitive TkFixedFont.  This should not affect current customized
font selections.  If there is a problem, edit $HOME/.idlerc/config-main.cfg
and remove &#8216;fontxxx&#8217; entries from [Editor Window].  Patch by Mark Roseman.</li>
<li><a class="reference external" href="https://bugs.python.org/21192">Issue #21192</a>: Idle editor. When a file is run, put its name in the restart bar.
Do not print false prompts. Original patch by Adnan Umer.</li>
<li><a class="reference external" href="https://bugs.python.org/13884">Issue #13884</a>: Idle menus. Remove tearoff lines. Patch by Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/23184">Issue #23184</a>: remove unused names and imports in idlelib.
Initial patch by Al Sweigart.</li>
</ul>
</div>
<div class="section" id="tests">
<h3>Tests<a class="headerlink" href="#tests" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/24751">Issue #24751</a>: When running regrtest with the <tt class="docutils literal"><span class="pre">-w</span></tt> command line option,
a test run is no longer marked as a failure if all tests succeed when
re-run.</li>
<li><a class="reference external" href="https://bugs.python.org/21520">Issue #21520</a>: test_zipfile no longer fails if the word &#8216;bad&#8217; appears
anywhere in the name of the current directory.</li>
<li><a class="reference external" href="https://bugs.python.org/23799">Issue #23799</a>: Added test.support.start_threads() for running and
cleaning up multiple threads.</li>
<li><a class="reference external" href="https://bugs.python.org/22390">Issue #22390</a>: test.regrtest now emits a warning if temporary files or
directories are left after running a test.</li>
<li><a class="reference external" href="https://bugs.python.org/23583">Issue #23583</a>: Added tests for standard IO streams in IDLE.</li>
</ul>
</div>
<div class="section" id="build">
<h3>Build<a class="headerlink" href="#build" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23445">Issue #23445</a>: pydebug builds now use &#8220;gcc -Og&#8221; where possible, to make
the resulting executable faster.</li>
<li><a class="reference external" href="https://bugs.python.org/24603">Issue #24603</a>: Update Windows builds and OS X 10.5 installer to use OpenSSL
1.0.2d.</li>
</ul>
</div>
<div class="section" id="c-api">
<h3>C API<a class="headerlink" href="#c-api" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23998">Issue #23998</a>: PyImport_ReInitLock() now checks for lock allocation error</li>
</ul>
</div>
<div class="section" id="documentation">
<h3>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/24952">Issue #24952</a>: Clarify the default size argument of stack_size() in
the &#8220;threading&#8221; and &#8220;_thread&#8221; modules. Patch from Mattip.</li>
<li><a class="reference external" href="https://bugs.python.org/24808">Issue #24808</a>: Update the types of some PyTypeObject fields. Patch by
Joseph Weston.</li>
<li><a class="reference external" href="https://bugs.python.org/22812">Issue #22812</a>: Fix unittest discovery examples.
Patch from Pam McA&#8217;Nulty.</li>
<li><a class="reference external" href="https://bugs.python.org/24129">Issue #24129</a>: Clarify the reference documentation for name resolution.
This includes removing the assumption that readers will be familiar with the
name resolution scheme Python used prior to the introduction of lexical
scoping for function namespaces. Patch by Ivan Levkivskyi.</li>
<li><a class="reference external" href="https://bugs.python.org/20769">Issue #20769</a>: Improve reload() docs. Patch by Dorian Pula.</li>
<li><a class="reference external" href="https://bugs.python.org/23589">Issue #23589</a>: Remove duplicate sentence from the FAQ.  Patch by Yongzhi Pan.</li>
<li><a class="reference external" href="https://bugs.python.org/24729">Issue #24729</a>: Correct IO tutorial to match implementation regarding
encoding parameter to open function.</li>
<li><a class="reference external" href="https://bugs.python.org/24351">Issue #24351</a>: Clarify what is meant by &#8220;identifier&#8221; in the context of
string.Template instances.</li>
<li><a class="reference external" href="https://bugs.python.org/22155">Issue #22155</a>: Add File Handlers subsection with createfilehandler to tkinter
doc.  Remove obsolete example from FAQ.  Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/24029">Issue #24029</a>: Document the name binding behavior for submodule imports.</li>
<li><a class="reference external" href="https://bugs.python.org/24077">Issue #24077</a>: Fix typo in man page for -I command option: -s, not -S.</li>
</ul>
</div>
<div class="section" id="tools-demos">
<h3>Tools/Demos<a class="headerlink" href="#tools-demos" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23330">Issue #23330</a>: h2py now supports arbitrary filenames in #include.</li>
<li><a class="reference external" href="https://bugs.python.org/24031">Issue #24031</a>: make patchcheck now supports git checkouts, too.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-3">
<h2>Python 3.4.3<a class="headerlink" href="#python-3-4-3" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2015-02-23</p>
<div class="section" id="id1">
<h3>Core and Builtins<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22735">Issue #22735</a>: Fix many edge cases (including crashes) involving custom mro()
implementations.</li>
<li><a class="reference external" href="https://bugs.python.org/22896">Issue #22896</a>: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
and PyObject_AsWriteBuffer().</li>
<li><a class="reference external" href="https://bugs.python.org/21295">Issue #21295</a>: Revert some changes (<a class="reference external" href="https://bugs.python.org/16795">issue #16795</a>) to AST line numbers and
column offsets that constituted a regression.</li>
<li><a class="reference external" href="https://bugs.python.org/21408">Issue #21408</a>: The default __ne__() now returns NotImplemented if __eq__()
returned NotImplemented.  Original patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/23321">Issue #23321</a>: Fixed a crash in str.decode() when error handler returned
replacment string longer than mailformed input data.</li>
<li><a class="reference external" href="https://bugs.python.org/23048">Issue #23048</a>: Fix jumping out of an infinite while loop in the pdb.</li>
<li><a class="reference external" href="https://bugs.python.org/20335">Issue #20335</a>: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument.  Based on patch by Renaud Blanch.</li>
<li><a class="reference external" href="https://bugs.python.org/22335">Issue #22335</a>: Fix crash when trying to enlarge a bytearray to 0x7fffffff
bytes on a 32-bit platform.</li>
<li><a class="reference external" href="https://bugs.python.org/22653">Issue #22653</a>: Fix an assertion failure in debug mode when doing a reentrant
dict insertion in debug mode.</li>
<li><a class="reference external" href="https://bugs.python.org/22643">Issue #22643</a>: Fix integer overflow in Unicode case operations (upper, lower,
title, swapcase, casefold).</li>
<li><a class="reference external" href="https://bugs.python.org/22604">Issue #22604</a>: Fix assertion error in debug mode when dividing a complex
number by (nan+0j).</li>
<li><a class="reference external" href="https://bugs.python.org/22470">Issue #22470</a>: Fixed integer overflow issues in &#8220;backslashreplace&#8221;,
&#8220;xmlcharrefreplace&#8221;, and &#8220;surrogatepass&#8221; error handlers.</li>
<li><a class="reference external" href="https://bugs.python.org/22520">Issue #22520</a>: Fix overflow checking when generating the repr of a unicode
object.</li>
<li><a class="reference external" href="https://bugs.python.org/22519">Issue #22519</a>: Fix overflow checking in PyBytes_Repr.</li>
<li><a class="reference external" href="https://bugs.python.org/22518">Issue #22518</a>: Fix integer overflow issues in latin-1 encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/23165">Issue #23165</a>: Perform overflow checks before allocating memory in the
_Py_char2wchar function.</li>
</ul>
</div>
<div class="section" id="id2">
<h3>Library<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23399">Issue #23399</a>: pyvenv creates relative symlinks where possible.</li>
<li><a class="reference external" href="https://bugs.python.org/23099">Issue #23099</a>: Closing io.BytesIO with exported buffer is rejected now to
prevent corrupting exported buffer.</li>
<li><a class="reference external" href="https://bugs.python.org/23363">Issue #23363</a>: Fix possible overflow in itertools.permutations.</li>
<li><a class="reference external" href="https://bugs.python.org/23364">Issue #23364</a>: Fix possible overflow in itertools.product.</li>
<li><a class="reference external" href="https://bugs.python.org/23366">Issue #23366</a>: Fixed possible integer overflow in itertools.combinations.</li>
<li><a class="reference external" href="https://bugs.python.org/23369">Issue #23369</a>: Fixed possible integer overflow in
_json.encode_basestring_ascii.</li>
<li><a class="reference external" href="https://bugs.python.org/23353">Issue #23353</a>: Fix the exception handling of generators in
PyEval_EvalFrameEx(). At entry, save or swap the exception state even if
PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception state
is now always restored or swapped, not only if why is WHY_YIELD or
WHY_RETURN. Patch co-written with Antoine Pitrou.</li>
<li><a class="reference external" href="https://bugs.python.org/18518">Issue #18518</a>: timeit now rejects statements which can&#8217;t be compiled outside
a function or a loop (e.g. &#8220;return&#8221; or &#8220;break&#8221;).</li>
<li><a class="reference external" href="https://bugs.python.org/23094">Issue #23094</a>: Fixed readline with frames in Python implementation of pickle.</li>
<li><a class="reference external" href="https://bugs.python.org/23268">Issue #23268</a>: Fixed bugs in the comparison of ipaddress classes.</li>
<li><a class="reference external" href="https://bugs.python.org/21408">Issue #21408</a>: Removed incorrect implementations of __ne__() which didn&#8217;t
returned NotImplemented if __eq__() returned NotImplemented.  The default
__ne__() now works correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/19996">Issue #19996</a>: <tt class="xref py py-class docutils literal"><span class="pre">email.feedparser.FeedParser</span></tt> now handles (malformed)
headers with no key rather than assuming the body has started.</li>
<li><a class="reference external" href="https://bugs.python.org/23248">Issue #23248</a>: Update ssl error codes from latest OpenSSL git master.</li>
<li><a class="reference external" href="https://bugs.python.org/23098">Issue #23098</a>: 64-bit dev_t is now supported in the os module.</li>
<li><a class="reference external" href="https://bugs.python.org/23250">Issue #23250</a>: In the http.cookies module, capitalize &#8220;HttpOnly&#8221; and &#8220;Secure&#8221;
as they are written in the standard.</li>
<li><a class="reference external" href="https://bugs.python.org/23063">Issue #23063</a>: In the disutils&#8217; check command, fix parsing of reST with code or
code-block directives.</li>
<li><a class="reference external" href="https://bugs.python.org/23209">Issue #23209</a>, #23225: selectors.BaseSelector.close() now clears its internal
reference to the selector mapping to break a reference cycle. Initial patch
written by Martin Richard.</li>
<li><a class="reference external" href="https://bugs.python.org/21356">Issue #21356</a>: Make ssl.RAND_egd() optional to support LibreSSL. The
availability of the function is checked during the compilation. Patch written
by Bernard Spil.</li>
<li><a class="reference external" href="https://bugs.python.org/20896">Issue #20896</a>, #22935: The <a class="reference internal" href="../library/ssl.html#ssl.get_server_certificate" title="ssl.get_server_certificate"><tt class="xref py py-func docutils literal"><span class="pre">ssl.get_server_certificate()</span></tt></a> function now
uses the <a class="reference internal" href="../library/ssl.html#ssl.PROTOCOL_SSLv23" title="ssl.PROTOCOL_SSLv23"><tt class="xref py py-data docutils literal"><span class="pre">PROTOCOL_SSLv23</span></tt></a> protocol by default, not
<a class="reference internal" href="../library/ssl.html#ssl.PROTOCOL_SSLv3" title="ssl.PROTOCOL_SSLv3"><tt class="xref py py-data docutils literal"><span class="pre">PROTOCOL_SSLv3</span></tt></a>, for maximum compatibility and support platforms
where <a class="reference internal" href="../library/ssl.html#ssl.PROTOCOL_SSLv3" title="ssl.PROTOCOL_SSLv3"><tt class="xref py py-data docutils literal"><span class="pre">PROTOCOL_SSLv3</span></tt></a> support is disabled.</li>
<li><a class="reference external" href="https://bugs.python.org/23111">Issue #23111</a>: In the ftplib, make ssl.PROTOCOL_SSLv23 the default protocol
version.</li>
<li><a class="reference external" href="https://bugs.python.org/23132">Issue #23132</a>: Mitigate regression in speed and clarity in functools.total_ordering.</li>
<li><a class="reference external" href="https://bugs.python.org/22585">Issue #22585</a>: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
instead of reading /dev/urandom, to get pseudo-random bytes.</li>
<li><a class="reference external" href="https://bugs.python.org/23112">Issue #23112</a>: Fix SimpleHTTPServer to correctly carry the query string and
fragment when it redirects to add a trailing slash.</li>
<li><a class="reference external" href="https://bugs.python.org/23093">Issue #23093</a>: In the io, module allow more operations to work on detached
streams.</li>
<li><a class="reference external" href="https://bugs.python.org/19104">Issue #19104</a>: pprint now produces evaluable output for wrapped strings.</li>
<li><a class="reference external" href="https://bugs.python.org/23071">Issue #23071</a>: Added missing names to codecs.__all__.  Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/15513">Issue #15513</a>: Added a __sizeof__ implementation for pickle classes.</li>
<li><a class="reference external" href="https://bugs.python.org/19858">Issue #19858</a>: pickletools.optimize() now aware of the MEMOIZE opcode, can
produce more compact result and no longer produces invalid output if input
data contains MEMOIZE opcodes together with PUT or BINPUT opcodes.</li>
<li><a class="reference external" href="https://bugs.python.org/22095">Issue #22095</a>: Fixed HTTPConnection.set_tunnel with default port.  The port
value in the host header was set to &#8220;None&#8221;.  Patch by Demian Brecht.</li>
<li><a class="reference external" href="https://bugs.python.org/23016">Issue #23016</a>: A warning no longer produces an AttributeError when the program
is run with pythonw.exe.</li>
<li><a class="reference external" href="https://bugs.python.org/21775">Issue #21775</a>: shutil.copytree(): fix crash when copying to VFAT. An exception
handler assumed that that OSError objects always have a &#8216;winerror&#8217; attribute.
That is not the case, so the exception handler itself raised AttributeError
when run on Linux (and, presumably, any other non-Windows OS).
Patch by Greg Ward.</li>
<li><a class="reference external" href="https://bugs.python.org/1218234">Issue #1218234</a>: Fix inspect.getsource() to load updated source of
reloaded module. Initial patch by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/22959">Issue #22959</a>: In the constructor of http.client.HTTPSConnection, prefer the
context&#8217;s check_hostname attribute over the <em>check_hostname</em> parameter.</li>
<li><a class="reference external" href="https://bugs.python.org/16043">Issue #16043</a>: Add a default limit for the amount of data xmlrpclib.gzip_decode
will return. This resolves CVE-2013-1753.</li>
<li><a class="reference external" href="https://bugs.python.org/22966">Issue #22966</a>: Fix __pycache__ pyc file name clobber when pyc_compile is
asked to compile a source file containing multiple dots in the source file
name.</li>
<li><a class="reference external" href="https://bugs.python.org/21971">Issue #21971</a>: Update turtledemo doc and add module to the index.</li>
<li><a class="reference external" href="https://bugs.python.org/21032">Issue #21032</a>. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/22960">Issue #22960</a>: Add a context argument to xmlrpclib.ServerProxy constructor.</li>
<li><a class="reference external" href="https://bugs.python.org/22915">Issue #22915</a>: SAX parser now supports files opened with file descriptor or
bytes path.</li>
<li><a class="reference external" href="https://bugs.python.org/22609">Issue #22609</a>: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.</li>
<li><a class="reference external" href="https://bugs.python.org/22788">Issue #22788</a>: Add <em>context</em> parameter to logging.handlers.HTTPHandler.</li>
<li><a class="reference external" href="https://bugs.python.org/22921">Issue #22921</a>: Allow SSLContext to take the <em>hostname</em> parameter even if
OpenSSL doesn&#8217;t support SNI.</li>
<li><a class="reference external" href="https://bugs.python.org/22894">Issue #22894</a>: TestCase.subTest() would cause the test suite to be stopped
when in failfast mode, even in the absence of failures.</li>
<li><a class="reference external" href="https://bugs.python.org/22638">Issue #22638</a>: SSLv3 is now disabled throughout the standard library.
It can still be enabled by instantiating a SSLContext manually.</li>
<li><a class="reference external" href="https://bugs.python.org/22370">Issue #22370</a>: Windows detection in pathlib is now more robust.</li>
<li><a class="reference external" href="https://bugs.python.org/22841">Issue #22841</a>: Reject coroutines in asyncio add_signal_handler().
Patch by Ludovic.Gasc.</li>
<li><a class="reference external" href="https://bugs.python.org/22849">Issue #22849</a>: Fix possible double free in the io.TextIOWrapper constructor.</li>
<li><a class="reference external" href="https://bugs.python.org/12728">Issue #12728</a>: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.</li>
<li><a class="reference external" href="https://bugs.python.org/22821">Issue #22821</a>: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/22406">Issue #22406</a>: Fixed the uu_codec codec incorrectly ported to 3.x.
Based on patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/17293">Issue #17293</a>: uuid.getnode() now determines MAC address on AIX using netstat.
Based on patch by Aivars Kalvāns.</li>
<li><a class="reference external" href="https://bugs.python.org/22769">Issue #22769</a>: Fixed ttk.Treeview.tag_has() when called without arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/22417">Issue #22417</a>: Verify certificates by default in httplib (PEP 476).</li>
<li><a class="reference external" href="https://bugs.python.org/22775">Issue #22775</a>: Fixed unpickling of http.cookies.SimpleCookie with protocol 2
and above.  Patch by Tim Graham.</li>
<li><a class="reference external" href="https://bugs.python.org/22366">Issue #22366</a>: urllib.request.urlopen will accept a context object
(SSLContext) as an argument which will then used be for HTTPS connection.
Patch by Alex Gaynor.</li>
<li><a class="reference external" href="https://bugs.python.org/22776">Issue #22776</a>: Brought excluded code into the scope of a try block in
SysLogHandler.emit().</li>
<li><a class="reference external" href="https://bugs.python.org/22665">Issue #22665</a>: Add missing get_terminal_size and SameFileError to
shutil.__all__.</li>
<li><a class="reference external" href="https://bugs.python.org/17381">Issue #17381</a>: Fixed handling of case-insensitive ranges in regular
expressions.</li>
<li><a class="reference external" href="https://bugs.python.org/22410">Issue #22410</a>: Module level functions in the re module now cache compiled
locale-dependent regular expressions taking into account the locale.</li>
<li><a class="reference external" href="https://bugs.python.org/22759">Issue #22759</a>: Query methods on pathlib.Path() (exists(), is_dir(), etc.)
now return False when the underlying stat call raises NotADirectoryError.</li>
<li><a class="reference external" href="https://bugs.python.org/8876">Issue #8876</a>: distutils now falls back to copying files when hard linking
doesn&#8217;t work.  This allows use with special filesystems such as VirtualBox
shared folders.</li>
<li><a class="reference external" href="https://bugs.python.org/18853">Issue #18853</a>: Fixed ResourceWarning in shlex.__nain__.</li>
<li><a class="reference external" href="https://bugs.python.org/9351">Issue #9351</a>: Defaults set with set_defaults on an argparse subparser
are no longer ignored when also set on the parent parser.</li>
<li><a class="reference external" href="https://bugs.python.org/21991">Issue #21991</a>: Make email.headerregistry&#8217;s header &#8216;params&#8217; attributes
be read-only (MappingProxyType).  Previously the dictionary was modifiable
but a new one was created on each access of the attribute.</li>
<li><a class="reference external" href="https://bugs.python.org/22641">Issue #22641</a>: In asyncio, the default SSL context for client connections
is now created using ssl.create_default_context(), for stronger security.</li>
<li><a class="reference external" href="https://bugs.python.org/22435">Issue #22435</a>: Fix a file descriptor leak when SocketServer bind fails.</li>
<li><a class="reference external" href="https://bugs.python.org/13096">Issue #13096</a>: Fixed segfault in CTypes POINTER handling of large
values.</li>
<li><a class="reference external" href="https://bugs.python.org/11694">Issue #11694</a>: Raise ConversionError in xdrlib as documented.  Patch
by Filip Gruszczyński and Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/22462">Issue #22462</a>: Fix pyexpat&#8217;s creation of a dummy frame to make it
appear in exception tracebacks.</li>
<li><a class="reference external" href="https://bugs.python.org/21173">Issue #21173</a>: Fix len() on a WeakKeyDictionary when .clear() was called
with an iterator alive.</li>
<li><a class="reference external" href="https://bugs.python.org/11866">Issue #11866</a>: Eliminated race condition in the computation of names
for new threads.</li>
<li><a class="reference external" href="https://bugs.python.org/21905">Issue #21905</a>: Avoid RuntimeError in pickle.whichmodule() when sys.modules
is mutated while iterating.  Patch by Olivier Grisel.</li>
<li><a class="reference external" href="https://bugs.python.org/22219">Issue #22219</a>: The zipfile module CLI now adds entries for directories
(including empty directories) in ZIP file.</li>
<li><a class="reference external" href="https://bugs.python.org/22449">Issue #22449</a>: In the ssl.SSLContext.load_default_certs, consult the
environmental variables SSL_CERT_DIR and SSL_CERT_FILE on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/20076">Issue #20076</a>: Added non derived UTF-8 aliases to locale aliases table.</li>
<li><a class="reference external" href="https://bugs.python.org/20079">Issue #20079</a>: Added locales supported in glibc 2.18 to locale alias table.</li>
<li><a class="reference external" href="https://bugs.python.org/22396">Issue #22396</a>: On 32-bit AIX platform, don&#8217;t expose os.posix_fadvise() nor
os.posix_fallocate() because their prototypes in system headers are wrong.</li>
<li><a class="reference external" href="https://bugs.python.org/22517">Issue #22517</a>: When a io.BufferedRWPair object is deallocated, clear its
weakrefs.</li>
<li><a class="reference external" href="https://bugs.python.org/22448">Issue #22448</a>: Improve canceled timer handles cleanup to prevent
unbound memory usage. Patch by Joshua Moore-Oliva.</li>
<li><a class="reference external" href="https://bugs.python.org/23009">Issue #23009</a>: Make sure selectors.EpollSelecrtor.select() works when no
FD is registered.</li>
</ul>
</div>
<div class="section" id="id3">
<h3>IDLE<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20577">Issue #20577</a>: Configuration of the max line length for the FormatParagraph
extension has been moved from the General tab of the Idle preferences dialog
to the FormatParagraph tab of the Config Extensions dialog.
Patch by Tal Einat.</li>
<li><a class="reference external" href="https://bugs.python.org/16893">Issue #16893</a>: Update Idle doc chapter to match current Idle and add new
information.</li>
<li><a class="reference external" href="https://bugs.python.org/3068">Issue #3068</a>: Add Idle extension configuration dialog to Options menu.
Changes are written to HOME/.idlerc/config-extensions.cfg.
Original patch by Tal Einat.</li>
<li><a class="reference external" href="https://bugs.python.org/16233">Issue #16233</a>: A module browser (File : Class Browser, Alt+C) requires a
editor window with a filename.  When Class Browser is requested otherwise,
from a shell, output window, or &#8216;Untitled&#8217; editor, Idle no longer displays
an error box.  It now pops up an Open Module box (Alt+M). If a valid name
is entered and a module is opened, a corresponding browser is also opened.</li>
<li><a class="reference external" href="https://bugs.python.org/4832">Issue #4832</a>: Save As to type Python files automatically adds .py to the
name you enter (even if your system does not display it).  Some systems
automatically add .txt when type is Text files.</li>
<li><a class="reference external" href="https://bugs.python.org/21986">Issue #21986</a>: Code objects are not normally pickled by the pickle module.
To match this, they are no longer pickled when running under Idle.</li>
<li><a class="reference external" href="https://bugs.python.org/23180">Issue #23180</a>: Rename IDLE &#8220;Windows&#8221; menu item to &#8220;Window&#8221;.
Patch by Al Sweigart.</li>
</ul>
</div>
<div class="section" id="id4">
<h3>Tests<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23392">Issue #23392</a>: Added tests for marshal C API that works with FILE*.</li>
<li><a class="reference external" href="https://bugs.python.org/18982">Issue #18982</a>: Add tests for CLI of the calendar module.</li>
<li><a class="reference external" href="https://bugs.python.org/19548">Issue #19548</a>: Added some additional checks to test_codecs to ensure that
statements in the updated documentation remain accurate. Patch by Martin
Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/22838">Issue #22838</a>: All test_re tests now work with unittest test discovery.</li>
<li><a class="reference external" href="https://bugs.python.org/22173">Issue #22173</a>: Update lib2to3 tests to use unittest test discovery.</li>
<li><a class="reference external" href="https://bugs.python.org/16000">Issue #16000</a>: Convert test_curses to use unittest.</li>
<li><a class="reference external" href="https://bugs.python.org/21456">Issue #21456</a>: Skip two tests in test_urllib2net.py if _ssl module not
present. Patch by Remi Pointel.</li>
<li><a class="reference external" href="https://bugs.python.org/22770">Issue #22770</a>: Prevent some Tk segfaults on OS X when running gui tests.</li>
<li><a class="reference external" href="https://bugs.python.org/23211">Issue #23211</a>: Workaround test_logging failure on some OS X 10.6 systems.</li>
<li><a class="reference external" href="https://bugs.python.org/23345">Issue #23345</a>: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).</li>
<li><a class="reference external" href="https://bugs.python.org/22289">Issue #22289</a>: Prevent test_urllib2net failures due to ftp connection timeout.</li>
</ul>
</div>
<div class="section" id="id5">
<h3>Build<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15506">Issue #15506</a>: Use standard PKG_PROG_PKG_CONFIG autoconf macro in the configure
script.</li>
<li><a class="reference external" href="https://bugs.python.org/22935">Issue #22935</a>: Allow the ssl module to be compiled if openssl doesn&#8217;t support
SSL 3.</li>
<li><a class="reference external" href="https://bugs.python.org/16537">Issue #16537</a>: Check whether self.extensions is empty in setup.py. Patch by
Jonathan Hosmer.</li>
<li><a class="reference external" href="https://bugs.python.org/18096">Issue #18096</a>: Fix library order returned by python-config.</li>
<li><a class="reference external" href="https://bugs.python.org/17219">Issue #17219</a>: Add library build dir for Python extension cross-builds.</li>
<li><a class="reference external" href="https://bugs.python.org/17128">Issue #17128</a>: Use private version of OpenSSL for 3.4.3 OS X 10.5+ installer.</li>
</ul>
</div>
<div class="section" id="id6">
<h3>C API<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22079">Issue #22079</a>: PyType_Ready() now checks that statically allocated type has
no dynamically allocated bases.</li>
</ul>
</div>
<div class="section" id="id7">
<h3>Documentation<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19548">Issue #19548</a>: Update the codecs module documentation to better cover the
distinction between text encodings and other codecs, together with other
clarifications. Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/22914">Issue #22914</a>: Update the Python 2/3 porting HOWTO to describe a more automated
approach.</li>
<li><a class="reference external" href="https://bugs.python.org/21514">Issue #21514</a>: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.</li>
</ul>
</div>
<div class="section" id="id8">
<h3>Tools/Demos<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22314">Issue #22314</a>: pydoc now works when the LINES environment variable is set.</li>
</ul>
</div>
<div class="section" id="windows">
<h3>Windows<a class="headerlink" href="#windows" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17896">Issue #17896</a>: The Windows build scripts now expect external library sources
to be in <tt class="docutils literal"><span class="pre">PCbuild\..\externals</span></tt> rather than <tt class="docutils literal"><span class="pre">PCbuild\..\..</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/17717">Issue #17717</a>: The Windows build scripts now use a copy of NASM pulled from
svn.python.org to build OpenSSL.</li>
<li><a class="reference external" href="https://bugs.python.org/22644">Issue #22644</a>: The bundled version of OpenSSL has been updated to 1.0.1j.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-2">
<h2>Python 3.4.2<a class="headerlink" href="#python-3-4-2" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-10-06</p>
<div class="section" id="id9">
<h3>Library<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/10510">Issue #10510</a>: distutils register and upload methods now use HTML standards
compliant CRLF line endings.</li>
<li><a class="reference external" href="https://bugs.python.org/9850">Issue #9850</a>: Fixed macpath.join() for empty first component.  Patch by
Oleg Oshmyan.</li>
<li><a class="reference external" href="https://bugs.python.org/22427">Issue #22427</a>: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.</li>
<li><a class="reference external" href="https://bugs.python.org/20912">Issue #20912</a>: Now directories added to ZIP file have correct Unix and MS-DOS
directory attributes.</li>
<li><a class="reference external" href="https://bugs.python.org/21866">Issue #21866</a>: ZipFile.close() no longer writes ZIP64 central directory
records if allowZip64 is false.</li>
<li><a class="reference external" href="https://bugs.python.org/22415">Issue #22415</a>: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
module.  Removed trailing spaces in debugging output.</li>
<li><a class="reference external" href="https://bugs.python.org/22423">Issue #22423</a>: Unhandled exception in thread no longer causes unhandled
AttributeError when sys.stderr is None.</li>
<li><a class="reference external" href="https://bugs.python.org/21332">Issue #21332</a>: Ensure that <tt class="docutils literal"><span class="pre">bufsize=1</span></tt> in subprocess.Popen() selects
line buffering, rather than block buffering.  Patch by Akira Li.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-2rc1">
<h2>Python 3.4.2rc1<a class="headerlink" href="#python-3-4-2rc1" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-09-22</p>
<div class="section" id="id10">
<h3>Core and Builtins<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22258">Issue #22258</a>: Fix the the internal function set_inheritable() on Illumos.
This platform exposes the function <tt class="docutils literal"><span class="pre">ioctl(FIOCLEX)</span></tt>, but calling it fails
with errno is ENOTTY: &#8220;Inappropriate ioctl for device&#8221;. set_inheritable()
now falls back to the slower <tt class="docutils literal"><span class="pre">fcntl()</span></tt> (<tt class="docutils literal"><span class="pre">F_GETFD</span></tt> and then <tt class="docutils literal"><span class="pre">F_SETFD</span></tt>).</li>
<li><a class="reference external" href="https://bugs.python.org/21669">Issue #21669</a>: With the aid of heuristics in SyntaxError.__init__, the
parser now attempts to generate more meaningful (or at least more search
engine friendly) error messages when &#8220;exec&#8221; and &#8220;print&#8221; are used as
statements.</li>
<li><a class="reference external" href="https://bugs.python.org/21642">Issue #21642</a>: If the conditional if-else expression, allow an integer written
with no space between itself and the <tt class="docutils literal"><span class="pre">else</span></tt> keyword (e.g. <tt class="docutils literal"><span class="pre">True</span> <span class="pre">if</span> <span class="pre">42else</span>
<span class="pre">False</span></tt>) to be valid syntax.</li>
<li><a class="reference external" href="https://bugs.python.org/21523">Issue #21523</a>: Fix over-pessimistic computation of the stack effect of
some opcodes in the compiler.  This also fixes a quadratic compilation
time issue noticeable when compiling code with a large number of &#8220;and&#8221;
and &#8220;or&#8221; operators.</li>
</ul>
</div>
<div class="section" id="id11">
<h3>Library<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21091">Issue #21091</a>: Fix API bug: email.message.EmailMessage.is_attachment is now
a method.  Since EmailMessage is provisional, we can change the API in a
maintenance release, but we use a trick to remain backward compatible with
3.4.0/1.</li>
<li><a class="reference external" href="https://bugs.python.org/21079">Issue #21079</a>: Fix email.message.EmailMessage.is_attachment to return the
correct result when the header has parameters as well as a value.</li>
<li><a class="reference external" href="https://bugs.python.org/22247">Issue #22247</a>: Add NNTPError to nntplib.__all__.</li>
<li><a class="reference external" href="https://bugs.python.org/4180">Issue #4180</a>: The warnings registries are now reset when the filters
are modified.</li>
<li><a class="reference external" href="https://bugs.python.org/22419">Issue #22419</a>: Limit the length of incoming HTTP request in wsgiref server to
65536 bytes and send a 414 error code for higher lengths. Patch contributed
by Devin Cook.</li>
<li>Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.  Reported by
Sergey Bobrov.</li>
<li><a class="reference external" href="https://bugs.python.org/22384">Issue #22384</a>: An exception in Tkinter callback no longer crashes the program
when it is run with pythonw.exe.</li>
<li><a class="reference external" href="https://bugs.python.org/22168">Issue #22168</a>: Prevent turtle AttributeError with non-default Canvas on OS X.</li>
<li><a class="reference external" href="https://bugs.python.org/21147">Issue #21147</a>: sqlite3 now raises an exception if the request contains a null
character instead of truncate it.  Based on patch by Victor Stinner.</li>
<li><a class="reference external" href="https://bugs.python.org/21951">Issue #21951</a>: Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.</li>
<li><a class="reference external" href="https://bugs.python.org/21951">Issue #21951</a>: Tkinter now most likely raises MemoryError instead of crash
if the memory allocation fails.</li>
<li><a class="reference external" href="https://bugs.python.org/22338">Issue #22338</a>: Fix a crash in the json module on memory allocation failure.</li>
<li><a class="reference external" href="https://bugs.python.org/22226">Issue #22226</a>: First letter no longer is stripped from the &#8220;status&#8221; key in
the result of Treeview.heading().</li>
<li><a class="reference external" href="https://bugs.python.org/19524">Issue #19524</a>: Fixed resource leak in the HTTP connection when an invalid
response is received.  Patch by Martin Panter.</li>
<li><a class="reference external" href="https://bugs.python.org/22051">Issue #22051</a>: turtledemo no longer reloads examples to re-run them.
Initialization of variables and gui setup should be done in main(),
which is called each time a demo is run, but not on import.</li>
<li><a class="reference external" href="https://bugs.python.org/21933">Issue #21933</a>: Turtledemo users can change the code font size with a menu
selection or control(command) &#8216;-&#8216; or &#8216;+&#8217; or control-mousewheel.
Original patch by Lita Cho.</li>
<li><a class="reference external" href="https://bugs.python.org/21597">Issue #21597</a>: The separator between the turtledemo text pane and the drawing
canvas can now be grabbed and dragged with a mouse.  The code text pane can
be widened to easily view or copy the full width of the text.  The canvas
can be widened on small screens.  Original patches by Jan Kanis and Lita Cho.</li>
<li><a class="reference external" href="https://bugs.python.org/18132">Issue #18132</a>: Turtledemo buttons no longer disappear when the window is
shrunk.  Original patches by Jan Kanis and Lita Cho.</li>
<li><a class="reference external" href="https://bugs.python.org/22216">Issue #22216</a>: smtplib now resets its state more completely after a quit.  The
most obvious consequence of the previous behavior was a STARTTLS failure
during a connect/starttls/quit/connect/starttls sequence.</li>
<li><a class="reference external" href="https://bugs.python.org/22185">Issue #22185</a>: Fix an occasional RuntimeError in threading.Condition.wait()
caused by mutation of the waiters queue without holding the lock.  Patch
by Doug Zongker.</li>
<li><a class="reference external" href="https://bugs.python.org/22182">Issue #22182</a>: Use e.args to unpack exceptions correctly in
distutils.file_util.move_file. Patch by Claudiu Popa.</li>
<li>The webbrowser module now uses subprocess&#8217;s start_new_session=True rather
than a potentially risky preexec_fn=os.setsid call.</li>
<li><a class="reference external" href="https://bugs.python.org/22236">Issue #22236</a>: Fixed Tkinter images copying operations in NoDefaultRoot mode.</li>
<li><a class="reference external" href="https://bugs.python.org/22191">Issue #22191</a>: Fix warnings.__all__.</li>
<li><a class="reference external" href="https://bugs.python.org/15696">Issue #15696</a>: Add a __sizeof__ implementation for mmap objects on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/22068">Issue #22068</a>: Avoided reference loops with Variables and Fonts in Tkinter.</li>
<li><a class="reference external" href="https://bugs.python.org/22165">Issue #22165</a>: SimpleHTTPRequestHandler now supports undecodable file names.</li>
<li><a class="reference external" href="https://bugs.python.org/8797">Issue #8797</a>: Raise HTTPError on failed Basic Authentication immediately.
Initial patch by Sam Bull.</li>
<li><a class="reference external" href="https://bugs.python.org/20729">Issue #20729</a>: Restored the use of lazy iterkeys()/itervalues()/iteritems()
in the mailbox module.</li>
<li><a class="reference external" href="https://bugs.python.org/21448">Issue #21448</a>: Changed FeedParser feed() to avoid O(N**2) behavior when
parsing long line.  Original patch by Raymond Hettinger.</li>
<li><a class="reference external" href="https://bugs.python.org/22184">Issue #22184</a>: The functools LRU Cache decorator factory now gives an earlier
and clearer error message when the user forgets the required parameters.</li>
<li><a class="reference external" href="https://bugs.python.org/17923">Issue #17923</a>: glob() patterns ending with a slash no longer match non-dirs on
AIX.  Based on patch by Delhallt.</li>
<li><a class="reference external" href="https://bugs.python.org/21121">Issue #21121</a>: Don&#8217;t force 3rd party C extensions to be built with
-Werror=declaration-after-statement.</li>
<li><a class="reference external" href="https://bugs.python.org/21975">Issue #21975</a>: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row).  sqlite3.Row is now initialized in the
__new__() method.</li>
<li><a class="reference external" href="https://bugs.python.org/21580">Issue #21580</a>: Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.</li>
<li><a class="reference external" href="https://bugs.python.org/17172">Issue #17172</a>: Make turtledemo start as active on OS X even when run with
subprocess.  Patch by Lita Cho.</li>
<li><a class="reference external" href="https://bugs.python.org/21704">Issue #21704</a>: Fix build error for _multiprocessing when semaphores
are not available.  Patch by Arfrever Frehtes Taifersar Arahesis.</li>
<li>Fix repr(_socket.socket) on Windows 64-bit: don&#8217;t fail with OverflowError
on closed socket. repr(socket.socket) already works fine.</li>
<li><a class="reference external" href="https://bugs.python.org/16133">Issue #16133</a>: The asynchat.async_chat.handle_read() method now ignores
BlockingIOError exceptions.</li>
<li><a class="reference external" href="https://bugs.python.org/22044">Issue #22044</a>: Fixed premature DECREF in call_tzinfo_method.
Patch by Tom Flanagan.</li>
<li><a class="reference external" href="https://bugs.python.org/19884">Issue #19884</a>: readline: Disable the meta modifier key if stdout is not
a terminal to not write the ANSI sequence &#8220;033[1034h&#8221; into stdout. This
sequence is used on some terminal (ex: TERM=xterm-256color&#8221;) to enable
support of 8 bit characters.</li>
<li><a class="reference external" href="https://bugs.python.org/21888">Issue #21888</a>: plistlib&#8217;s load() and loads() now work if the fmt parameter is
specified.</li>
<li><a class="reference external" href="https://bugs.python.org/21044">Issue #21044</a>: tarfile.open() now handles fileobj with an integer &#8216;name&#8217;
attribute.  Based on patch by Antoine Pietri.</li>
<li><a class="reference external" href="https://bugs.python.org/21867">Issue #21867</a>: Prevent turtle crash due to invalid undo buffer size.</li>
<li><a class="reference external" href="https://bugs.python.org/19076">Issue #19076</a>: Don&#8217;t pass the redundant &#8216;file&#8217; argument to self.error().</li>
<li><a class="reference external" href="https://bugs.python.org/21942">Issue #21942</a>: Fixed source file viewing in pydoc&#8217;s server mode on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/11259">Issue #11259</a>: asynchat.async_chat().set_terminator() now raises a ValueError
if the number of received bytes is negative.</li>
<li><a class="reference external" href="https://bugs.python.org/12523">Issue #12523</a>: asynchat.async_chat.push() now raises a TypeError if it doesn&#8217;t
get a bytes string</li>
<li><a class="reference external" href="https://bugs.python.org/21707">Issue #21707</a>: Add missing kwonlyargcount argument to
ModuleFinder.replace_paths_in_code().</li>
<li><a class="reference external" href="https://bugs.python.org/20639">Issue #20639</a>: calling Path.with_suffix(&#8216;&#8217;) allows removing the suffix
again.  Patch by July Tikhonov.</li>
<li><a class="reference external" href="https://bugs.python.org/21714">Issue #21714</a>: Disallow the construction of invalid paths using
Path.with_name().  Original patch by Antony Lee.</li>
<li><a class="reference external" href="https://bugs.python.org/21897">Issue #21897</a>: Fix a crash with the f_locals attribute with closure
variables when frame.clear() has been called.</li>
<li><a class="reference external" href="https://bugs.python.org/21151">Issue #21151</a>: Fixed a segfault in the winreg module when <tt class="docutils literal"><span class="pre">None</span></tt> is passed
as a <tt class="docutils literal"><span class="pre">REG_BINARY</span></tt> value to SetValueEx.  Patch by John Ehresman.</li>
<li><a class="reference external" href="https://bugs.python.org/21090">Issue #21090</a>: io.FileIO.readall() does not ignore I/O errors anymore. Before,
it ignored I/O errors if at least the first C call read() succeed.</li>
<li><a class="reference external" href="https://bugs.python.org/21781">Issue #21781</a>: ssl.RAND_add() now supports strings longer than 2 GB.</li>
<li><a class="reference external" href="https://bugs.python.org/11453">Issue #11453</a>: asyncore: emit a ResourceWarning when an unclosed file_wrapper
object is destroyed. The destructor now closes the file if needed. The
close() method can now be called twice: the second call does nothing.</li>
<li><a class="reference external" href="https://bugs.python.org/21858">Issue #21858</a>: Better handling of Python exceptions in the sqlite3 module.</li>
<li><a class="reference external" href="https://bugs.python.org/21476">Issue #21476</a>: Make sure the email.parser.BytesParser TextIOWrapper is
discarded after parsing, so the input file isn&#8217;t unexpectedly closed.</li>
<li><a class="reference external" href="https://bugs.python.org/21729">Issue #21729</a>: Used the &#8220;with&#8221; statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/21491">Issue #21491</a>: socketserver: Fix a race condition in child processes reaping.</li>
<li><a class="reference external" href="https://bugs.python.org/21832">Issue #21832</a>: Require named tuple inputs to be exact strings.</li>
<li><a class="reference external" href="https://bugs.python.org/19145">Issue #19145</a>: The times argument for itertools.repeat now handles
negative values the same way for keyword arguments as it does for
positional arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/21812">Issue #21812</a>: turtle.shapetransform did not tranform the turtle on the
first call.  (Issue identified and fixed by Lita Cho.)</li>
<li><a class="reference external" href="https://bugs.python.org/21635">Issue #21635</a>: The difflib SequenceMatcher.get_matching_blocks() method
cache didn&#8217;t match the actual result.  The former was a list of tuples
and the latter was a list of named tuples.</li>
<li><a class="reference external" href="https://bugs.python.org/21722">Issue #21722</a>: The distutils &#8220;upload&#8221; command now exits with a non-zero
return code when uploading fails.  Patch by Martin Dengler.</li>
<li><a class="reference external" href="https://bugs.python.org/21723">Issue #21723</a>: asyncio.Queue: support any type of number (ex: float) for the
maximum size. Patch written by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/21326">Issue #21326</a>: Add a new is_closed() method to asyncio.BaseEventLoop.
run_forever() and run_until_complete() methods of asyncio.BaseEventLoop now
raise an exception if the event loop was closed.</li>
<li><a class="reference external" href="https://bugs.python.org/21774">Issue #21774</a>: Fixed NameError for an incorrect variable reference in the
XML Minidom code for creating processing instructions.
(Found and fixed by Claudiu Popa.)</li>
<li><a class="reference external" href="https://bugs.python.org/21766">Issue #21766</a>: Prevent a security hole in CGIHTTPServer by URL unquoting paths
before checking for a CGI script at that path.</li>
<li><a class="reference external" href="https://bugs.python.org/21310">Issue #21310</a>: Fixed possible resource leak in failed open().</li>
<li><a class="reference external" href="https://bugs.python.org/21677">Issue #21677</a>: Fixed chaining nonnormalized exceptions in io close() methods.</li>
<li><a class="reference external" href="https://bugs.python.org/11709">Issue #11709</a>: Fix the pydoc.help function to not fail when sys.stdin is not a
valid file.</li>
<li><a class="reference external" href="https://bugs.python.org/13223">Issue #13223</a>: Fix pydoc.writedoc so that the HTML documentation for methods
that use &#8216;self&#8217; in the example code is generated correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/21463">Issue #21463</a>: In urllib.request, fix pruning of the FTP cache.</li>
<li><a class="reference external" href="https://bugs.python.org/21618">Issue #21618</a>: The subprocess module could fail to close open fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow.  On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.</li>
<li><a class="reference external" href="https://bugs.python.org/21552">Issue #21552</a>: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/14315">Issue #14315</a>: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this &#8220;bad data&#8221; appears in many real world zip files in
the wild and is ignored by other zip tools.</li>
<li><a class="reference external" href="https://bugs.python.org/21402">Issue #21402</a>: tkinter.ttk now works when default root window is not set.</li>
<li><a class="reference external" href="https://bugs.python.org/10203">Issue #10203</a>: sqlite3.Row now truly supports sequence protocol.  In particulr
it supports reverse() and negative indices.  Original patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/18807">Issue #18807</a>: If copying (no symlinks) specified for a venv, then the python
interpreter aliases (python, python3) are now created by copying rather than
symlinking.</li>
<li><a class="reference external" href="https://bugs.python.org/14710">Issue #14710</a>: pkgutil.get_loader() no longer raises an exception when None is
found in sys.modules.</li>
<li><a class="reference external" href="https://bugs.python.org/14710">Issue #14710</a>: pkgutil.find_loader() no longer raises an exception when a
module doesn&#8217;t exist.</li>
<li><a class="reference external" href="https://bugs.python.org/21481">Issue #21481</a>: Argparse equality and inequality tests now return
NotImplemented when comparing to an unknown type.</li>
<li><a class="reference external" href="https://bugs.python.org/8743">Issue #8743</a>: Fix interoperability between set objects and the
collections.Set() abstract base class.</li>
<li><a class="reference external" href="https://bugs.python.org/13355">Issue #13355</a>: random.triangular() no longer fails with a ZeroDivisionError
when low equals high.</li>
<li><a class="reference external" href="https://bugs.python.org/21538">Issue #21538</a>: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.</li>
<li><a class="reference external" href="https://bugs.python.org/21801">Issue #21801</a>: Validate that __signature__ is None or an instance of Signature.</li>
<li><a class="reference external" href="https://bugs.python.org/21923">Issue #21923</a>: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.</li>
<li><a class="reference external" href="https://bugs.python.org/21323">Issue #21323</a>: Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security <a class="reference external" href="https://bugs.python.org/19435">issue #19435</a>.  Patch by Zach Byrne.</li>
</ul>
</div>
<div class="section" id="extension-modules">
<h3>Extension Modules<a class="headerlink" href="#extension-modules" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22176">Issue #22176</a>: Update the ctypes module&#8217;s libffi to v3.1.  This release
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.</li>
</ul>
</div>
<div class="section" id="id12">
<h3>Build<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15661">Issue #15661</a>: python.org OS X installers are now distributed as signed
installer packages compatible with the Gatekeeper security feature.</li>
<li><a class="reference external" href="https://bugs.python.org/21958">Issue #21958</a>: Define HAVE_ROUND when building with Visual Studio 2013 and
above.  Patch by Zachary Turner.</li>
<li><a class="reference external" href="https://bugs.python.org/15759">Issue #15759</a>: &#8220;make suspicious&#8221;, &#8220;make linkcheck&#8221; and &#8220;make doctest&#8221; in Doc/
now display special message when and only when there are failures.</li>
<li><a class="reference external" href="https://bugs.python.org/17095">Issue #17095</a>: Fix Modules/Setup <em>shared</em> support.</li>
<li><a class="reference external" href="https://bugs.python.org/21811">Issue #21811</a>: Anticipated fixes to support OS X versions &gt; 10.9.</li>
<li><a class="reference external" href="https://bugs.python.org/21166">Issue #21166</a>: Prevent possible segfaults and other random failures of
python &#8211;generate-posix-vars in pybuilddir.txt build target.</li>
</ul>
</div>
<div class="section" id="id13">
<h3>IDLE<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17390">Issue #17390</a>: Adjust Editor window title; remove &#8216;Python&#8217;,
move version to end.</li>
<li><a class="reference external" href="https://bugs.python.org/14105">Issue #14105</a>: Idle debugger breakpoints no longer disappear
when inseting or deleting lines.</li>
<li><a class="reference external" href="https://bugs.python.org/17172">Issue #17172</a>: Turtledemo can now be run from Idle.
Currently, the entry is on the Help menu, but it may move to Run.
Patch by Ramchandra Apt and Lita Cho.</li>
<li><a class="reference external" href="https://bugs.python.org/21765">Issue #21765</a>: Add support for non-ascii identifiers to HyperParser.</li>
<li><a class="reference external" href="https://bugs.python.org/21940">Issue #21940</a>: Add unittest for WidgetRedirector. Initial patch by Saimadhav
Heblikar.</li>
<li><a class="reference external" href="https://bugs.python.org/18592">Issue #18592</a>: Add unittest for SearchDialogBase. Patch by Phil Webster.</li>
<li><a class="reference external" href="https://bugs.python.org/21694">Issue #21694</a>: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.</li>
<li><a class="reference external" href="https://bugs.python.org/21686">Issue #21686</a>: add unittest for HyperParser. Original patch by Saimadhav
Heblikar.</li>
<li><a class="reference external" href="https://bugs.python.org/12387">Issue #12387</a>: Add missing upper(lower)case versions of default Windows key
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/21695">Issue #21695</a>: Closing a Find-in-files output window while the search is
still in progress no longer closes Idle.</li>
<li><a class="reference external" href="https://bugs.python.org/18910">Issue #18910</a>: Add unittest for textView. Patch by Phil Webster.</li>
<li><a class="reference external" href="https://bugs.python.org/18292">Issue #18292</a>: Add unittest for AutoExpand. Patch by Saihadhav Heblikar.</li>
<li><a class="reference external" href="https://bugs.python.org/18409">Issue #18409</a>: Add unittest for AutoComplete. Patch by Phil Webster.</li>
</ul>
</div>
<div class="section" id="id14">
<h3>Tests<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22166">Issue #22166</a>: With the assistance of a new internal _codecs._forget_codec
helping function, test_codecs now clears the encoding caches to avoid the
appearance of a reference leak</li>
<li><a class="reference external" href="https://bugs.python.org/22236">Issue #22236</a>: Tkinter tests now don&#8217;t reuse default root window.  New root
window is created for every test class.</li>
<li><a class="reference external" href="https://bugs.python.org/20746">Issue #20746</a>: Fix test_pdb to run in refleak mode (-R).  Patch by Xavier
de Gaye.</li>
<li><a class="reference external" href="https://bugs.python.org/22060">Issue #22060</a>: test_ctypes has been somewhat cleaned up and simplified; it
now uses unittest test discovery to find its tests.</li>
<li><a class="reference external" href="https://bugs.python.org/22104">Issue #22104</a>: regrtest.py no longer holds a reference to the suite of tests
loaded from test modules that don&#8217;t define test_main().</li>
<li><a class="reference external" href="https://bugs.python.org/22002">Issue #22002</a>: Added <tt class="docutils literal"><span class="pre">load_package_tests</span></tt> function to test.support and used
it to implement/augment test discovery in test_asyncio, test_email,
test_importlib, test_json, and test_tools.</li>
<li><a class="reference external" href="https://bugs.python.org/21976">Issue #21976</a>: Fix test_ssl to accept LibreSSL version strings.  Thanks
to William Orr.</li>
<li><a class="reference external" href="https://bugs.python.org/21918">Issue #21918</a>: Converted test_tools from a module to a package containing
separate test files for each tested script.</li>
<li><a class="reference external" href="https://bugs.python.org/20155">Issue #20155</a>: Changed HTTP method names in failing tests in test_httpservers
so that packet filtering software (specifically Windows Base Filtering Engine)
does not interfere with the transaction semantics expected by the tests.</li>
<li><a class="reference external" href="https://bugs.python.org/19493">Issue #19493</a>: Refactored the ctypes test package to skip tests explicitly
rather than silently.</li>
<li><a class="reference external" href="https://bugs.python.org/18492">Issue #18492</a>: All resources are now allowed when tests are not run by
regrtest.py.</li>
<li><a class="reference external" href="https://bugs.python.org/21634">Issue #21634</a>: Fix pystone micro-benchmark: use floor division instead of true
division to benchmark integers instead of floating point numbers. Set pystone
version to 1.2. Patch written by Lennart Regebro.</li>
<li><a class="reference external" href="https://bugs.python.org/21605">Issue #21605</a>: Added tests for Tkinter images.</li>
<li><a class="reference external" href="https://bugs.python.org/21493">Issue #21493</a>: Added test for ntpath.expanduser().  Original patch by
Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/19925">Issue #19925</a>: Added tests for the spwd module. Original patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/21522">Issue #21522</a>: Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().</li>
</ul>
</div>
<div class="section" id="id15">
<h3>Documentation<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21777">Issue #21777</a>: The binary sequence methods on bytes and bytearray are now
documented explicitly, rather than assuming users will be able to derive
the expected behaviour from the behaviour of the corresponding str methods.</li>
</ul>
</div>
<div class="section" id="id16">
<h3>Windows<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21671">Issue #21671</a>, #22160, CVE-2014-0224: The bundled version of OpenSSL has been
updated to 1.0.1i.</li>
<li><a class="reference external" href="https://bugs.python.org/10747">Issue #10747</a>: Use versioned labels in the Windows start menu.
Patch by Olive Kilburn.</li>
</ul>
</div>
<div class="section" id="id17">
<h3>Tools/Demos<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/22201">Issue #22201</a>: Command-line interface of the zipfile module now correctly
extracts ZIP files with directory entries.  Patch by Ryan Wilson.</li>
<li><a class="reference external" href="https://bugs.python.org/21906">Issue #21906</a>: Make Tools/scripts/md5sum.py work in Python 3.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/21629">Issue #21629</a>: Fix Argument Clinic&#8217;s &#8220;&#8211;converters&#8221; feature.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-1">
<h2>Python 3.4.1<a class="headerlink" href="#python-3-4-1" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-05-18</p>
<div class="section" id="id18">
<h3>Core and Builtins<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21418">Issue #21418</a>: Fix a crash in the builtin function super() when called without
argument and without current frame (ex: embedded Python).</li>
<li><a class="reference external" href="https://bugs.python.org/21425">Issue #21425</a>: Fix flushing of standard streams in the interactive
interpreter.</li>
<li><a class="reference external" href="https://bugs.python.org/21435">Issue #21435</a>: In rare cases, when running finalizers on objects in cyclic
trash a bad pointer dereference could occur due to a subtle flaw in
internal iteration logic.</li>
</ul>
</div>
<div class="section" id="id19">
<h3>Library<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/10744">Issue #10744</a>: Fix PEP 3118 format strings on ctypes objects with a nontrivial
shape.</li>
<li><a class="reference external" href="https://bugs.python.org/20998">Issue #20998</a>: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.</li>
<li><a class="reference external" href="https://bugs.python.org/21075">Issue #21075</a>: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.</li>
<li><a class="reference external" href="https://bugs.python.org/21396">Issue #21396</a>: Fix TextIOWrapper(..., write_through=True) to not force a
flush() on the underlying binary stream.  Patch by akira.</li>
<li><a class="reference external" href="https://bugs.python.org/21470">Issue #21470</a>: Do a better job seeding the random number generator by
using enough bytes to span the full state space of the Mersenne Twister.</li>
<li><a class="reference external" href="https://bugs.python.org/21398">Issue #21398</a>: Fix an unicode error in the pydoc pager when the documentation
contains characters not encodable to the stdout encoding.</li>
</ul>
</div>
<div class="section" id="id20">
<h3>Tests<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17756">Issue #17756</a>: Fix test_code test when run from the installed location.</li>
<li><a class="reference external" href="https://bugs.python.org/17752">Issue #17752</a>: Fix distutils tests when run from the installed location.</li>
</ul>
</div>
<div class="section" id="id21">
<h3>IDLE<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18104">Issue #18104</a>: Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest.  Running the module as __main__ runs all tests.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-1rc1">
<h2>Python 3.4.1rc1<a class="headerlink" href="#python-3-4-1rc1" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-05-05</p>
<div class="section" id="id22">
<h3>Core and Builtins<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21274">Issue #21274</a>: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.</li>
<li><a class="reference external" href="https://bugs.python.org/21209">Issue #21209</a>: Fix sending tuples to custom generator objects with the yield
from syntax.</li>
<li><a class="reference external" href="https://bugs.python.org/21134">Issue #21134</a>: Fix segfault when str is called on an uninitialized
UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object.</li>
<li><a class="reference external" href="https://bugs.python.org/19537">Issue #19537</a>: Fix PyUnicode_DATA() alignment under m68k.  Patch by
Andreas Schwab.</li>
<li><a class="reference external" href="https://bugs.python.org/20929">Issue #20929</a>: Add a type cast to avoid shifting a negative number.</li>
<li><a class="reference external" href="https://bugs.python.org/20731">Issue #20731</a>: Properly position in source code files even if they
are opened in text mode. Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/20637">Issue #20637</a>: Key-sharing now also works for instance dictionaries of
subclasses.  Patch by Peter Ingebretson.</li>
<li><a class="reference external" href="https://bugs.python.org/12546">Issue #12546</a>: Allow x00 to be used as a fill character when using str, int,
float, and complex __format__ methods.</li>
<li><a class="reference external" href="https://bugs.python.org/13598">Issue #13598</a>: Modify string.Formatter to support auto-numbering of
replacement fields. It now matches the behavior of str.format() in
this regard. Patches by Phil Elson and Ramchandra Apte.</li>
</ul>
</div>
<div class="section" id="id23">
<h3>Library<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21088">Issue #21088</a>: Bugfix for curses.window.addch() regression in 3.4.0.
In porting to Argument Clinic, the first two arguments were reversed.</li>
<li><a class="reference external" href="https://bugs.python.org/21469">Issue #21469</a>: Reduced the risk of false positives in robotparser by
checking to make sure that robots.txt has been read or does not exist
prior to returning True in can_fetch().</li>
<li><a class="reference external" href="https://bugs.python.org/21321">Issue #21321</a>: itertools.islice() now releases the reference to the source
iterator when the slice is exhausted.  Patch by Anton Afanasyev.</li>
<li><a class="reference external" href="https://bugs.python.org/9815">Issue #9815</a>: assertRaises now tries to clear references to local variables
in the exception&#8217;s traceback.</li>
<li><a class="reference external" href="https://bugs.python.org/13204">Issue #13204</a>: Calling sys.flags.__new__ would crash the interpreter,
now it raises a TypeError.</li>
<li><a class="reference external" href="https://bugs.python.org/19385">Issue #19385</a>: Make operations on a closed dbm.dumb database always raise the
same exception.</li>
<li><a class="reference external" href="https://bugs.python.org/21207">Issue #21207</a>: Detect when the os.urandom cached fd has been closed or
replaced, and open it anew.</li>
<li><a class="reference external" href="https://bugs.python.org/21291">Issue #21291</a>: subprocess&#8217;s Popen.wait() is now thread safe so that
multiple threads may be calling wait() or poll() on a Popen instance
at the same time without losing the Popen.returncode value.</li>
<li><a class="reference external" href="https://bugs.python.org/21127">Issue #21127</a>: Path objects can now be instantiated from str subclass
instances (such as <tt class="docutils literal"><span class="pre">numpy.str_</span></tt>).</li>
<li><a class="reference external" href="https://bugs.python.org/15002">Issue #15002</a>: urllib.response object to use _TemporaryFileWrapper (and
_TemporaryFileCloser) facility. Provides a better way to handle file
descriptor close. Patch contributed by Christian Theune.</li>
<li><a class="reference external" href="https://bugs.python.org/12220">Issue #12220</a>: mindom now raises a custom ValueError indicating it doesn&#8217;t
support spaces in URIs instead of letting a &#8216;split&#8217; ValueError bubble up.</li>
<li><a class="reference external" href="https://bugs.python.org/21239">Issue #21239</a>: patch.stopall() didn&#8217;t work deterministically when the same
name was patched more than once.</li>
<li><a class="reference external" href="https://bugs.python.org/21222">Issue #21222</a>: Passing name keyword argument to mock.create_autospec now
works.</li>
<li><a class="reference external" href="https://bugs.python.org/21197">Issue #21197</a>: Add lib64 -&gt; lib symlink in venvs on 64-bit non-OS X POSIX.</li>
<li><a class="reference external" href="https://bugs.python.org/17498">Issue #17498</a>: Some SMTP servers disconnect after certain errors, violating
strict RFC conformance.  Instead of losing the error code when we issue the
subsequent RSET, smtplib now returns the error code and defers raising the
SMTPServerDisconnected error until the next command is issued.</li>
<li><a class="reference external" href="https://bugs.python.org/17826">Issue #17826</a>: setting an iterable side_effect on a mock function created by
create_autospec now works. Patch by Kushal Das.</li>
<li><a class="reference external" href="https://bugs.python.org/7776">Issue #7776</a>: Fix <tt class="docutils literal"><span class="pre">Host:</span></tt> header and reconnection when using
http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.</li>
<li><a class="reference external" href="https://bugs.python.org/20968">Issue #20968</a>: unittest.mock.MagicMock now supports division.
Patch by Johannes Baiter.</li>
<li>Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
parameter. Bug reported by Guido Vranken.</li>
<li><a class="reference external" href="https://bugs.python.org/21169">Issue #21169</a>: getpass now handles non-ascii characters that the
input stream encoding cannot encode by re-encoding using the
replace error handler.</li>
<li><a class="reference external" href="https://bugs.python.org/21171">Issue #21171</a>: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/21172">Issue #21172</a>: isinstance check relaxed from dict to collections.Mapping.</li>
<li><a class="reference external" href="https://bugs.python.org/21155">Issue #21155</a>: asyncio.EventLoop.create_unix_server() now raises a ValueError
if path and sock are specified at the same time.</li>
<li><a class="reference external" href="https://bugs.python.org/21149">Issue #21149</a>: Improved thread-safety in logging cleanup during interpreter
shutdown. Thanks to Devin Jeanpierre for the patch.</li>
<li><a class="reference external" href="https://bugs.python.org/20145">Issue #20145</a>: <tt class="xref py py-obj docutils literal"><span class="pre">assertRaisesRegex</span></tt> and <tt class="xref py py-obj docutils literal"><span class="pre">assertWarnsRegex</span></tt> now raise a
TypeError if the second argument is not a string or compiled regex.</li>
<li><a class="reference external" href="https://bugs.python.org/21058">Issue #21058</a>: Fix a leak of file descriptor in
<a class="reference internal" href="../library/tempfile.html#tempfile.NamedTemporaryFile" title="tempfile.NamedTemporaryFile"><tt class="xref py py-func docutils literal"><span class="pre">tempfile.NamedTemporaryFile()</span></tt></a>, close the file descriptor if
<a class="reference internal" href="../library/io.html#io.open" title="io.open"><tt class="xref py py-func docutils literal"><span class="pre">io.open()</span></tt></a> fails</li>
<li><a class="reference external" href="https://bugs.python.org/21200">Issue #21200</a>: Return None from pkgutil.get_loader() when __spec__ is missing.</li>
<li><a class="reference external" href="https://bugs.python.org/21013">Issue #21013</a>: Enhance ssl.create_default_context() when used for server side
sockets to provide better security by default.</li>
<li><a class="reference external" href="https://bugs.python.org/20633">Issue #20633</a>: Replace relative import by absolute import.</li>
<li><a class="reference external" href="https://bugs.python.org/20980">Issue #20980</a>: Stop wrapping exception when using ThreadPool.</li>
<li><a class="reference external" href="https://bugs.python.org/21082">Issue #21082</a>: In os.makedirs, do not set the process-wide umask. Note this
changes behavior of makedirs when exist_ok=True.</li>
<li><a class="reference external" href="https://bugs.python.org/20990">Issue #20990</a>: Fix issues found by pyflakes for multiprocessing.</li>
<li><a class="reference external" href="https://bugs.python.org/21015">Issue #21015</a>: SSL contexts will now automatically select an elliptic
curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise
default to &#8220;prime256v1&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/20995">Issue #20995</a>: Enhance default ciphers used by the ssl module to enable
better security an prioritize perfect forward secrecy.</li>
<li><a class="reference external" href="https://bugs.python.org/20884">Issue #20884</a>: Don&#8217;t assume that __file__ is defined on importlib.__init__.</li>
<li><a class="reference external" href="https://bugs.python.org/21499">Issue #21499</a>: Ignore __builtins__ in several test_importlib.test_api tests.</li>
<li><a class="reference external" href="https://bugs.python.org/20879">Issue #20879</a>: Delay the initialization of encoding and decoding tables for
base32, ascii85 and base85 codecs in the base64 module, and delay the
initialization of the unquote_to_bytes() table of the urllib.parse module, to
not waste memory if these modules are not used.</li>
<li><a class="reference external" href="https://bugs.python.org/19157">Issue #19157</a>: Include the broadcast address in the usuable hosts for IPv6
in ipaddress.</li>
<li><a class="reference external" href="https://bugs.python.org/11599">Issue #11599</a>: When an external command (e.g. compiler) fails, distutils now
prints out the whole command line (instead of just the command name) if the
environment variable DISTUTILS_DEBUG is set.</li>
<li><a class="reference external" href="https://bugs.python.org/4931">Issue #4931</a>: distutils should not produce unhelpful &#8220;error: None&#8221; messages
anymore.  distutils.util.grok_environment_error is kept but doc-deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/20875">Issue #20875</a>: Prevent possible gzip &#8220;&#8216;read&#8217; is not defined&#8221; NameError.
Patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/11558">Issue #11558</a>: <tt class="docutils literal"><span class="pre">email.message.Message.attach</span></tt> now returns a more
useful error message if <tt class="docutils literal"><span class="pre">attach</span></tt> is called on a message for which
<tt class="docutils literal"><span class="pre">is_multipart</span></tt> is False.</li>
<li><a class="reference external" href="https://bugs.python.org/20283">Issue #20283</a>: RE pattern methods now accept the string keyword parameters
as documented.  The pattern and source keyword parameters are left as
deprecated aliases.</li>
<li><a class="reference external" href="https://bugs.python.org/20778">Issue #20778</a>: Fix modulefinder to work with bytecode-only modules.</li>
<li><a class="reference external" href="https://bugs.python.org/20791">Issue #20791</a>: copy.copy() now doesn&#8217;t make a copy when the input is
a bytes object.  Initial patch by Peter Otten.</li>
<li><a class="reference external" href="https://bugs.python.org/19748">Issue #19748</a>: On AIX, time.mktime() now raises an OverflowError for year
outsize range [1902; 2037].</li>
<li><a class="reference external" href="https://bugs.python.org/20816">Issue #20816</a>: Fix inspect.getcallargs() to raise correct TypeError for
missing keyword-only arguments. Patch by Jeremiah Lowin.</li>
<li><a class="reference external" href="https://bugs.python.org/20817">Issue #20817</a>: Fix inspect.getcallargs() to fail correctly if more
than 3 arguments are missing. Patch by Jeremiah Lowin.</li>
<li><a class="reference external" href="https://bugs.python.org/6676">Issue #6676</a>: Ensure a meaningful exception is raised when attempting
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d&#8217;Arc, with
suggested wording by David Gutteridge)</li>
<li><a class="reference external" href="https://bugs.python.org/21117">Issue #21117</a>: Fix inspect.signature to better support functools.partial.
Due to the specifics of functools.partial implementation,
positional-or-keyword arguments passed as keyword arguments become
keyword-only.</li>
<li><a class="reference external" href="https://bugs.python.org/21209">Issue #21209</a>: Fix asyncio.tasks.CoroWrapper to workaround a bug
in yield-from implementation in CPythons prior to 3.4.1.</li>
<li>asyncio: Add gi_{frame,running,code} properties to CoroWrapper
(upstream <a class="reference external" href="https://bugs.python.org/163">issue #163</a>).</li>
<li><a class="reference external" href="https://bugs.python.org/21311">Issue #21311</a>: Avoid exception in _osx_support with non-standard compiler
configurations.  Patch by John Szakmeister.</li>
<li><a class="reference external" href="https://bugs.python.org/11571">Issue #11571</a>: Ensure that the turtle window becomes the topmost window
when launched on OS X.</li>
</ul>
</div>
<div class="section" id="id24">
<h3>Extension Modules<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21276">Issue #21276</a>: posixmodule: Don&#8217;t define USE_XATTRS on KFreeBSD and the Hurd.</li>
<li><a class="reference external" href="https://bugs.python.org/21226">Issue #21226</a>: Set up modules properly in PyImport_ExecCodeModuleObject
(and friends).</li>
</ul>
</div>
<div class="section" id="id25">
<h3>IDLE<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/21139">Issue #21139</a>: Change default paragraph width to 72, the PEP 8 recommendation.</li>
<li><a class="reference external" href="https://bugs.python.org/21284">Issue #21284</a>: Paragraph reformat test passes after user changes reformat width.</li>
<li><a class="reference external" href="https://bugs.python.org/17654">Issue #17654</a>: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.</li>
</ul>
</div>
<div class="section" id="id26">
<h3>Build<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>The Windows build now includes OpenSSL 1.0.1g</li>
<li><a class="reference external" href="https://bugs.python.org/21285">Issue #21285</a>: Refactor and fix curses configure check to always search
in a ncursesw directory.</li>
<li><a class="reference external" href="https://bugs.python.org/15234">Issue #15234</a>: For BerkelyDB and Sqlite, only add the found library and
include directories if they aren&#8217;t already being searched. This avoids
an explicit runtime library dependency.</li>
<li><a class="reference external" href="https://bugs.python.org/20644">Issue #20644</a>: OS X installer build support for documentation build changes
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.</li>
</ul>
</div>
<div class="section" id="id27">
<h3>C API<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20942">Issue #20942</a>: PyImport_ImportFrozenModuleObject() no longer sets __file__ to
match what importlib does; this affects _frozen_importlib as well as any
module loaded using imp.init_frozen().</li>
</ul>
</div>
<div class="section" id="id28">
<h3>Documentation<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17386">Issue #17386</a>: Expanded functionality of the <tt class="docutils literal"><span class="pre">Doc/make.bat</span></tt> script to make
it much more comparable to <tt class="docutils literal"><span class="pre">Doc/Makefile</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/21043">Issue #21043</a>: Remove the recommendation for specific CA organizations and to
mention the ability to load the OS certificates.</li>
<li><a class="reference external" href="https://bugs.python.org/20765">Issue #20765</a>: Add missing documentation for PurePath.with_name() and
PurePath.with_suffix().</li>
<li><a class="reference external" href="https://bugs.python.org/19407">Issue #19407</a>: New package installation and distribution guides based on
the Python Packaging Authority tools. Existing guides have been retained
as legacy links from the distutils docs, as they still contain some
required reference material for tool developers that isn&#8217;t recorded
anywhere else.</li>
<li><a class="reference external" href="https://bugs.python.org/19697">Issue #19697</a>: Document cases where __main__.__spec__ is None.</li>
</ul>
</div>
<div class="section" id="id29">
<h3>Tests<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18604">Issue #18604</a>: Consolidated checks for GUI availability.  All platforms now
at least check whether Tk can be instantiated when the GUI resource is
requested.</li>
<li><a class="reference external" href="https://bugs.python.org/21275">Issue #21275</a>: Fix a socket test on KFreeBSD.</li>
<li><a class="reference external" href="https://bugs.python.org/21223">Issue #21223</a>: Pass test_site/test_startup_imports when some of the extensions
are built as builtins.</li>
<li><a class="reference external" href="https://bugs.python.org/20635">Issue #20635</a>: Added tests for Tk geometry managers.</li>
<li>Add test case for freeze.</li>
<li><a class="reference external" href="https://bugs.python.org/20743">Issue #20743</a>: Fix a reference leak in test_tcl.</li>
<li><a class="reference external" href="https://bugs.python.org/21097">Issue #21097</a>: Move test_namespace_pkgs into test_importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/20939">Issue #20939</a>: Avoid various network test failures due to new
redirect of <a class="reference external" href="http://www.python.org/">http://www.python.org/</a> to <a class="reference external" href="https://www.python.org">https://www.python.org</a>:
use <a class="reference external" href="http://www.example.com">http://www.example.com</a> instead.</li>
<li><a class="reference external" href="https://bugs.python.org/20668">Issue #20668</a>: asyncio tests no longer rely on tests.txt file.
(Patch by Vajrasky Kok)</li>
<li><a class="reference external" href="https://bugs.python.org/21093">Issue #21093</a>: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.</li>
</ul>
</div>
<div class="section" id="id30">
<h3>Tools/Demos<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Add support for <tt class="docutils literal"><span class="pre">yield</span> <span class="pre">from</span></tt> to 2to3.</li>
<li>Add support for the PEP 465 matrix multiplication operator to 2to3.</li>
<li><a class="reference external" href="https://bugs.python.org/16047">Issue #16047</a>: Fix module exception list and __file__ handling in freeze.
Patch by Meador Inge.</li>
<li><a class="reference external" href="https://bugs.python.org/11824">Issue #11824</a>: Consider ABI tags in freeze. Patch by Meador Inge.</li>
<li><a class="reference external" href="https://bugs.python.org/20535">Issue #20535</a>: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0">
<h2>Python 3.4.0<a class="headerlink" href="#python-3-4-0" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-03-16</p>
<div class="section" id="id31">
<h3>Library<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20939">Issue #20939</a>: Fix test_geturl failure in test_urllibnet due to
new redirect of <a class="reference external" href="http://www.python.org/">http://www.python.org/</a> to <a class="reference external" href="https://www.python.org">https://www.python.org</a>.</li>
</ul>
</div>
<div class="section" id="id32">
<h3>Documentation<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Merge in all documentation changes since branching 3.4.0rc1.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-release-candidate-3">
<h2>Python 3.4.0 release candidate 3<a class="headerlink" href="#python-3-4-0-release-candidate-3" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-03-09</p>
<div class="section" id="id33">
<h3>Core and Builtins<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20786">Issue #20786</a>: Fix signatures for dict.__delitem__ and
property.__delete__ builtins.</li>
</ul>
</div>
<div class="section" id="id34">
<h3>Library<a class="headerlink" href="#id34" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20839">Issue #20839</a>: Don&#8217;t trigger a DeprecationWarning in the still supported
pkgutil.get_loader() API when __loader__ isn&#8217;t set on a module (nor
when pkgutil.find_loader() is called directly).</li>
</ul>
</div>
<div class="section" id="id35">
<h3>Build<a class="headerlink" href="#id35" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14512">Issue #14512</a>: Launch pydoc -b instead of pydocgui.pyw on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/20748">Issue #20748</a>: Uninstalling pip does not leave behind the pyc of
the uninstaller anymore.</li>
<li><a class="reference external" href="https://bugs.python.org/20568">Issue #20568</a>: The Windows installer now installs the unversioned <tt class="docutils literal"><span class="pre">pip</span></tt>
command in addition to the versioned <tt class="docutils literal"><span class="pre">pip3</span></tt> and <tt class="docutils literal"><span class="pre">pip3.4</span></tt> commands.</li>
<li><a class="reference external" href="https://bugs.python.org/20757">Issue #20757</a>: The ensurepip helper for the Windows uninstaller now skips
uninstalling pip (rather than failing) if the user has updated pip to a
different version from the one bundled with ensurepip.</li>
<li><a class="reference external" href="https://bugs.python.org/20465">Issue #20465</a>: Update OS X and Windows installer builds to use
SQLite 3.8.3.1.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-release-candidate-2">
<h2>Python 3.4.0 release candidate 2<a class="headerlink" href="#python-3-4-0-release-candidate-2" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-02-23</p>
<div class="section" id="id36">
<h3>Core and Builtins<a class="headerlink" href="#id36" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20625">Issue #20625</a>: Parameter names in __annotations__ were not mangled properly.
Discovered by Jonas Wielicki, patch by Yury Selivanov.</li>
<li><a class="reference external" href="https://bugs.python.org/20261">Issue #20261</a>: In pickle, lookup __getnewargs__ and __getnewargs_ex__ on the
type of the object.</li>
<li><a class="reference external" href="https://bugs.python.org/20619">Issue #20619</a>: Give the AST nodes of keyword-only arguments a column and line
number.</li>
<li><a class="reference external" href="https://bugs.python.org/20526">Issue #20526</a>: Revert changes of <a class="reference external" href="https://bugs.python.org/19466">issue #19466</a> which introduces a regression:
don&#8217;t clear anymore the state of Python threads early during the Python
shutdown.</li>
</ul>
</div>
<div class="section" id="id37">
<h3>Library<a class="headerlink" href="#id37" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20710">Issue #20710</a>: The pydoc summary line no longer displays the &#8220;self&#8221; parameter
for bound methods.</li>
<li><a class="reference external" href="https://bugs.python.org/20566">Issue #20566</a>: Change asyncio.as_completed() to use a Queue, to
avoid O(N**2) behavior.</li>
<li><a class="reference external" href="https://bugs.python.org/20704">Issue #20704</a>: Implement new debug API in asyncio. Add new methods
BaseEventLoop.set_debug() and BaseEventLoop.get_debug().
Add support for setting &#8216;asyncio.tasks._DEBUG&#8217; variable with
&#8216;PYTHONASYNCIODEBUG&#8217; environment variable.</li>
<li>asyncio: Refactoring and fixes: BaseEventLoop.sock_connect() raises an
error if the address is not resolved; use __slots__ in Handle and
TimerHandle; as_completed() and wait() raise TypeError if the passed
list of Futures is a single Future; call_soon() and other &#8216;call_*()&#8217;
functions raise TypeError if the passed callback is a coroutine
function; _ProactorBasePipeTransport uses _FlowControlMixin;
WriteTransport.set_write_buffer_size() calls _maybe_pause_protocol()
to consider pausing receiving if the watermark limits have changed;
fix _check_resolved_address() for IPv6 address; and other minor
improvements, along with multiple documentation updates.</li>
<li><a class="reference external" href="https://bugs.python.org/20684">Issue #20684</a>: Fix inspect.getfullargspec() to not to follow __wrapped__
chains. Make its behaviour consistent with bound methods first argument.
Patch by Nick Coghlan and Yury Selivanov.</li>
<li><a class="reference external" href="https://bugs.python.org/20681">Issue #20681</a>: Add new error handling API in asyncio. New APIs:
loop.set_exception_handler(), loop.default_exception_handler(), and
loop.call_exception_handler().</li>
<li><a class="reference external" href="https://bugs.python.org/20673">Issue #20673</a>: Implement support for UNIX Domain Sockets in asyncio.
New APIs: loop.create_unix_connection(), loop.create_unix_server(),
streams.open_unix_connection(), and streams.start_unix_server().</li>
<li><a class="reference external" href="https://bugs.python.org/20616">Issue #20616</a>: Add a format() method to tracemalloc.Traceback.</li>
<li><a class="reference external" href="https://bugs.python.org/19744">Issue #19744</a>: the ensurepip installation step now just prints a warning to
stderr rather than failing outright if SSL/TLS is unavailable. This allows
local installation of POSIX builds without SSL/TLS support.</li>
<li><a class="reference external" href="https://bugs.python.org/20594">Issue #20594</a>: Avoid name clash with the libc function posix_close.</li>
</ul>
</div>
<div class="section" id="id38">
<h3>Build<a class="headerlink" href="#id38" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20641">Issue #20641</a>: Run MSI custom actions (pip installation, pyc compilation)
with the NoImpersonate flag, to support elevated execution (UAC).</li>
<li><a class="reference external" href="https://bugs.python.org/20221">Issue #20221</a>: Removed conflicting (or circular) hypot definition when
compiled with VS 2010 or above.  Initial patch by Tabrez Mohammed.</li>
<li><a class="reference external" href="https://bugs.python.org/20609">Issue #20609</a>: Restored the ability to build 64-bit Windows binaries on
32-bit Windows, which was broken by the change in <a class="reference external" href="https://bugs.python.org/19788">issue #19788</a>.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-release-candidate-1">
<h2>Python 3.4.0 release candidate 1<a class="headerlink" href="#python-3-4-0-release-candidate-1" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-02-10</p>
<div class="section" id="id39">
<h3>Core and Builtins<a class="headerlink" href="#id39" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19255">Issue #19255</a>: The builtins module is restored to initial value before
cleaning other modules.  The sys and builtins modules are cleaned last.</li>
<li><a class="reference external" href="https://bugs.python.org/20588">Issue #20588</a>: Make Python-ast.c C89 compliant.</li>
<li><a class="reference external" href="https://bugs.python.org/20437">Issue #20437</a>: Fixed 22 potential bugs when deleting objects references.</li>
<li><a class="reference external" href="https://bugs.python.org/20500">Issue #20500</a>: Displaying an exception at interpreter shutdown no longer
risks triggering an assertion failure in PyObject_Str.</li>
<li><a class="reference external" href="https://bugs.python.org/20538">Issue #20538</a>: UTF-7 incremental decoder produced inconsistent string when
input was truncated in BASE64 section.</li>
<li><a class="reference external" href="https://bugs.python.org/20404">Issue #20404</a>: io.TextIOWrapper (and hence the open() builtin) now uses the
internal codec marking system added for <a class="reference external" href="https://bugs.python.org/19619">issue #19619</a> to throw LookupError
for known non-text encodings at stream construction time. The existing
output type checks remain in place to deal with unmarked third party
codecs.</li>
<li><a class="reference external" href="https://bugs.python.org/17162">Issue #17162</a>: Add PyType_GetSlot.</li>
<li><a class="reference external" href="https://bugs.python.org/20162">Issue #20162</a>: Fix an alignment issue in the siphash24() hash function which
caused a crash on PowerPC 64-bit (ppc64).</li>
</ul>
</div>
<div class="section" id="id40">
<h3>Library<a class="headerlink" href="#id40" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20530">Issue #20530</a>: The signatures for slot builtins have been updated
to reflect the fact that they only accept positional-only arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/20517">Issue #20517</a>: Functions in the os module that accept two filenames
now register both filenames in the exception on failure.</li>
<li><a class="reference external" href="https://bugs.python.org/20563">Issue #20563</a>: The ipaddress module API is now considered stable.</li>
<li><a class="reference external" href="https://bugs.python.org/14983">Issue #14983</a>: email.generator now always adds a line end after each MIME
boundary marker, instead of doing so only when there is an epilogue.  This
fixes an RFC compliance bug and solves an issue with signed MIME parts.</li>
<li><a class="reference external" href="https://bugs.python.org/20540">Issue #20540</a>: Fix a performance regression (vs. Python 3.2) when layering
a multiprocessing Connection over a TCP socket.  For small payloads, Nagle&#8217;s
algorithm would introduce idle delays before the entire transmission of a
message.</li>
<li><a class="reference external" href="https://bugs.python.org/16983">Issue #16983</a>: the new email header parsing code will now decode encoded words
that are (incorrectly) surrounded by quotes, and register a defect.</li>
<li><a class="reference external" href="https://bugs.python.org/19772">Issue #19772</a>: email.generator no longer mutates the message object when
doing a down-transform from 8bit to 7bit CTEs.</li>
<li><a class="reference external" href="https://bugs.python.org/20536">Issue #20536</a>: the statistics module now correctly handle Decimal instances
with positive exponents</li>
<li><a class="reference external" href="https://bugs.python.org/18805">Issue #18805</a>: the netmask/hostmask parsing in ipaddress now more reliably
filters out illegal values and correctly allows any valid prefix length.</li>
<li><a class="reference external" href="https://bugs.python.org/20481">Issue #20481</a>: For at least Python 3.4, the statistics module will require
that all inputs for a single operation be of a single consistent type, or
else a mixed of ints and a single other consistent type. This avoids
some interoperability issues that arose with the previous approach of
coercing to a suitable common type.</li>
<li><a class="reference external" href="https://bugs.python.org/20478">Issue #20478</a>: the statistics module now treats collections.Counter inputs
like any other iterable.</li>
<li><a class="reference external" href="https://bugs.python.org/17369">Issue #17369</a>: get_filename was raising an exception if the filename
parameter&#8217;s RFC2231 encoding was broken in certain ways.  This was
a regression relative to python2.</li>
<li><a class="reference external" href="https://bugs.python.org/20013">Issue #20013</a>: Some imap servers disconnect if the current mailbox is
deleted, and imaplib did not handle that case gracefully.  Now it
handles the &#8216;bye&#8217; correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/20531">Issue #20531</a>: Revert 3.4 version of fix for #19063, and apply the 3.3
version.  That is, do <em>not</em> raise an error if unicode is passed to
email.message.Message.set_payload.</li>
<li><a class="reference external" href="https://bugs.python.org/20476">Issue #20476</a>: If a non-compat32 policy is used with any of the email parsers,
EmailMessage is now used as the factory class.  The factory class should
really come from the policy; that will get fixed in 3.5.</li>
<li><a class="reference external" href="https://bugs.python.org/19920">Issue #19920</a>: TarFile.list() no longer fails when outputs a listing
containing non-encodable characters.  Based on patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/20515">Issue #20515</a>: Fix NULL pointer dereference introduced by <a class="reference external" href="https://bugs.python.org/20368">issue #20368</a>.</li>
<li><a class="reference external" href="https://bugs.python.org/19186">Issue #19186</a>: Restore namespacing of expat symbols inside the pyexpat module.</li>
<li><a class="reference external" href="https://bugs.python.org/20053">Issue #20053</a>: ensurepip (and hence venv) are no longer affected by the
settings in the default pip configuration file.</li>
<li><a class="reference external" href="https://bugs.python.org/20426">Issue #20426</a>: When passing the re.DEBUG flag, re.compile() displays the
debug output every time it is called, regardless of the compilation cache.</li>
<li><a class="reference external" href="https://bugs.python.org/20368">Issue #20368</a>: The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.</li>
<li><a class="reference external" href="https://bugs.python.org/20435">Issue #20435</a>: Fix _pyio.StringIO.getvalue() to take into account newline
translation settings.</li>
<li>tracemalloc: Fix slicing traces and fix slicing a traceback.</li>
<li><a class="reference external" href="https://bugs.python.org/20354">Issue #20354</a>: Fix an alignment issue in the tracemalloc module on 64-bit
platforms. Bug seen on 64-bit Linux when using &#8220;make profile-opt&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/17159">Issue #17159</a>: inspect.signature now accepts duck types of functions,
which adds support for Cython functions. Initial patch by Stefan Behnel.</li>
<li><a class="reference external" href="https://bugs.python.org/18801">Issue #18801</a>: Fix inspect.classify_class_attrs to correctly classify
object.__new__ and object.__init__.</li>
<li>Fixed cmath.isinf&#8217;s name in its argument parsing code.</li>
<li><a class="reference external" href="https://bugs.python.org/20311">Issue #20311</a>, #20452: poll and epoll now round the timeout away from zero,
instead of rounding towards zero, in select and selectors modules:
select.epoll.poll(), selectors.PollSelector.poll() and
selectors.EpollSelector.poll(). For example, a timeout of one microsecond
(1e-6) is now rounded to one millisecondi (1e-3), instead of being rounded to
zero.  However, the granularity property and asyncio&#8217;s resolution feature
were removed again.</li>
<li>asyncio: Some refactoring; various fixes; add write flow control to
unix pipes; Future.set_exception() instantiates the exception
argument if it is a class; improved proactor pipe transport; support
wait_for(f, None); don&#8217;t log broken/disconnected pipes; use
ValueError instead of assert for forbidden subprocess_{shell,exec}
arguments; added a convenience API for subprocess management; added
StreamReader.at_eof(); properly handle duplicate coroutines/futures
in gather(), wait(), as_completed(); use a bytearray for buffering
in StreamReader; and more.</li>
<li><a class="reference external" href="https://bugs.python.org/20288">Issue #20288</a>: fix handling of invalid numeric charrefs in HTMLParser.</li>
<li><a class="reference external" href="https://bugs.python.org/20424">Issue #20424</a>: Python implementation of io.StringIO now supports lone surrogates.</li>
<li><a class="reference external" href="https://bugs.python.org/20308">Issue #20308</a>: inspect.signature now works on classes without user-defined
__init__ or __new__ methods.</li>
<li><a class="reference external" href="https://bugs.python.org/20372">Issue #20372</a>: inspect.getfile (and a bunch of other inspect functions that
use it) doesn&#8217;t crash with unexpected AttributeError on classes defined in C
without __module__.</li>
<li><a class="reference external" href="https://bugs.python.org/20356">Issue #20356</a>: inspect.signature formatting uses &#8216;/&#8217; to separate
positional-only parameters from others.</li>
<li><a class="reference external" href="https://bugs.python.org/20223">Issue #20223</a>: inspect.signature now supports methods defined with
functools.partialmethods.</li>
<li><a class="reference external" href="https://bugs.python.org/19456">Issue #19456</a>: ntpath.join() now joins relative paths correctly when a drive
is present.</li>
<li><a class="reference external" href="https://bugs.python.org/19077">Issue #19077</a>: tempfile.TemporaryDirectory cleanup no longer fails when
called during shutdown.  Emitting resource warning in __del__ no longer fails.
Original patch by Antoine Pitrou.</li>
<li><a class="reference external" href="https://bugs.python.org/20394">Issue #20394</a>: Silence Coverity warning in audioop module.</li>
<li><a class="reference external" href="https://bugs.python.org/20367">Issue #20367</a>: Fix behavior of concurrent.futures.as_completed() for
duplicate arguments.  Patch by Glenn Langford.</li>
<li><a class="reference external" href="https://bugs.python.org/8260">Issue #8260</a>: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size).  Based on patch by Amaury Forgeot d&#8217;Arc.</li>
<li><a class="reference external" href="https://bugs.python.org/20105">Issue #20105</a>: the codec exception chaining now correctly sets the
traceback of the original exception as its __traceback__ attribute.</li>
<li><a class="reference external" href="https://bugs.python.org/17481">Issue #17481</a>: inspect.getfullargspec() now uses inspect.signature() API.</li>
<li><a class="reference external" href="https://bugs.python.org/15304">Issue #15304</a>: concurrent.futures.wait() can block forever even if
Futures have completed. Patch by Glenn Langford.</li>
<li><a class="reference external" href="https://bugs.python.org/14455">Issue #14455</a>: plistlib: fix serializing integers in the range
of an unsigned long long but outside of the range of signed long long for
binary plist files.</li>
</ul>
</div>
<div class="section" id="id41">
<h3>IDLE<a class="headerlink" href="#id41" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20406">Issue #20406</a>: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.</li>
<li>Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new blue and yellow snakes.</li>
<li><a class="reference external" href="https://bugs.python.org/17721">Issue #17721</a>: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.</li>
</ul>
</div>
<div class="section" id="id42">
<h3>Tests<a class="headerlink" href="#id42" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20532">Issue #20532</a>: Tests which use _testcapi now are marked as CPython only.</li>
<li><a class="reference external" href="https://bugs.python.org/19920">Issue #19920</a>: Added tests for TarFile.list().  Based on patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/19990">Issue #19990</a>: Added tests for the imghdr module.  Based on patch by
Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/20474">Issue #20474</a>: Fix test_socket &#8220;unexpected success&#8221; failures on OS X 10.7+.</li>
</ul>
</div>
<div class="section" id="id43">
<h3>Tools/Demos<a class="headerlink" href="#id43" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20530">Issue #20530</a>: Argument Clinic&#8217;s signature format has been revised again.
The new syntax is highly human readable while still preventing false
positives.  The syntax also extends Python syntax to denote &#8220;self&#8221; and
positional-only parameters, allowing inspect.Signature objects to be
totally accurate for all supported builtins in Python 3.4.</li>
<li><a class="reference external" href="https://bugs.python.org/20456">Issue #20456</a>: Argument Clinic now observes the C preprocessor conditional
compilation statements of the C files it parses.  When a Clinic block is
inside a conditional code, it adjusts its output to match, including
automatically generating an empty methoddef macro.</li>
<li><a class="reference external" href="https://bugs.python.org/20456">Issue #20456</a>: Cloned functions in Argument Clinic now use the correct
name, not the name of the function they were cloned from, for text
strings inside generated code.</li>
<li><a class="reference external" href="https://bugs.python.org/20456">Issue #20456</a>: Fixed Argument Clinic&#8217;s test suite and &#8220;&#8211;converters&#8221; feature.</li>
<li><a class="reference external" href="https://bugs.python.org/20456">Issue #20456</a>: Argument Clinic now allows specifying different names
for a parameter in Python and C, using &#8220;as&#8221; on the parameter line.</li>
<li><a class="reference external" href="https://bugs.python.org/20326">Issue #20326</a>: Argument Clinic now uses a simple, unique signature to
annotate text signatures in docstrings, resulting in fewer false
positives.  &#8220;self&#8221; parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.</li>
<li><a class="reference external" href="https://bugs.python.org/20326">Issue #20326</a>: Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).</li>
</ul>
</div>
<div class="section" id="id44">
<h3>Build<a class="headerlink" href="#id44" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20465">Issue #20465</a>: Update SQLite shipped with OS X installer to 3.8.3.</li>
</ul>
</div>
<div class="section" id="id45">
<h3>C-API<a class="headerlink" href="#id45" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20517">Issue #20517</a>: Added new functions allowing OSError exceptions to reference
two filenames instead of one: PyErr_SetFromErrnoWithFilenameObjects() and
PyErr_SetExcFromWindowsErrWithFilenameObjects().</li>
</ul>
</div>
<div class="section" id="id46">
<h3>Documentation<a class="headerlink" href="#id46" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20488">Issue #20488</a>: Change wording to say importlib is <em>the</em> implementation of
import instead of just <em>an</em> implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/6386">Issue #6386</a>: Clarify in the tutorial that specifying a symlink to execute
means the directory containing the executed script and not the symlink is
added to sys.path.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-beta-3">
<h2>Python 3.4.0 Beta 3<a class="headerlink" href="#python-3-4-0-beta-3" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-01-26</p>
<div class="section" id="id47">
<h3>Core and Builtins<a class="headerlink" href="#id47" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20189">Issue #20189</a>: Four additional builtin types (PyTypeObject,
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.</li>
<li><a class="reference external" href="https://bugs.python.org/17825">Issue #17825</a>: Cursor &#8220;^&#8221; is correctly positioned for SyntaxError and
IndentationError.</li>
<li><a class="reference external" href="https://bugs.python.org/2382">Issue #2382</a>: SyntaxError cursor &#8220;^&#8221; is now written at correct position in most
cases when multibyte characters are in line (before &#8220;^&#8221;).  This still not
works correctly with wide East Asian characters.</li>
<li><a class="reference external" href="https://bugs.python.org/18960">Issue #18960</a>: The first line of Python script could be executed twice when
the source encoding was specified on the second line.  Now the source encoding
declaration on the second line isn&#8217;t effective if the first line contains
anything except a comment.  &#8216;python -x&#8217; works now again with files with the
source encoding declarations, and can be used to make Python batch files
on Windows.</li>
</ul>
</div>
<div class="section" id="id48">
<h3>Library<a class="headerlink" href="#id48" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>asyncio: Various improvements and small changes not all covered by
issues listed below.  E.g. wait_for() now cancels the inner task if
the timeout occcurs; tweaked the set of exported symbols; renamed
Empty/Full to QueueEmpty/QueueFull; &#8220;with (yield from lock)&#8221; now
uses a separate context manager; readexactly() raises if not enough
data was read; PTY support tweaks.</li>
<li><a class="reference external" href="https://bugs.python.org/20311">Issue #20311</a>: asyncio: Add a granularity attribute to BaseEventLoop: maximum
between the resolution of the BaseEventLoop.time() method and the resolution
of the selector. The granuarility is used in the scheduler to round time and
deadline.</li>
<li><a class="reference external" href="https://bugs.python.org/20311">Issue #20311</a>: selectors: Add a resolution attribute to BaseSelector.</li>
<li><a class="reference external" href="https://bugs.python.org/20189">Issue #20189</a>: unittest.mock now no longer assumes that any object for
which it could get an inspect.Signature is a callable written in Python.
Fix courtesy of Michael Foord.</li>
<li><a class="reference external" href="https://bugs.python.org/20317">Issue #20317</a>: ExitStack.__exit__ could create a self-referential loop if an
exception raised by a cleanup operation already had its context set
correctly (for example, by the &#64;contextmanager decorator). The infinite
loop this caused is now avoided by checking if the expected context is
already set before trying to fix it.</li>
<li><a class="reference external" href="https://bugs.python.org/20374">Issue #20374</a>: Fix build with GNU readline &gt;= 6.3.</li>
<li><a class="reference external" href="https://bugs.python.org/20262">Issue #20262</a>: Warnings are raised now when duplicate names are added in the
ZIP file or too long ZIP file comment is truncated.</li>
<li><a class="reference external" href="https://bugs.python.org/20165">Issue #20165</a>: The unittest module no longer considers tests marked with
&#64;expectedFailure successful if they pass.</li>
<li><a class="reference external" href="https://bugs.python.org/18574">Issue #18574</a>: Added missing newline in 100-Continue reply from
http.server.BaseHTTPRequestHandler. Patch by Nikolaus Rath.</li>
<li><a class="reference external" href="https://bugs.python.org/20270">Issue #20270</a>: urllib.urlparse now supports empty ports.</li>
<li><a class="reference external" href="https://bugs.python.org/20243">Issue #20243</a>: TarFile no longer raise ReadError when opened in write mode.</li>
<li><a class="reference external" href="https://bugs.python.org/20238">Issue #20238</a>: TarFile opened with external fileobj and &#8220;w:gz&#8221; mode didn&#8217;t
write complete output on close.</li>
<li><a class="reference external" href="https://bugs.python.org/20245">Issue #20245</a>: The open functions in the tarfile module now correctly handle
empty mode.</li>
<li><a class="reference external" href="https://bugs.python.org/20242">Issue #20242</a>: Fixed basicConfig() format strings for the alternative
formatting styles. Thanks to kespindler for the bug report and patch.</li>
<li><a class="reference external" href="https://bugs.python.org/20246">Issue #20246</a>: Fix buffer overflow in socket.recvfrom_into.</li>
<li>Issues #20206 and #5803: Fix edge case in email.quoprimime.encode where it
truncated lines ending in a character needing encoding but no newline by
using a more efficient algorithm that doesn&#8217;t have the bug.</li>
<li><a class="reference external" href="https://bugs.python.org/19082">Issue #19082</a>: Working xmlrpc.server and xmlrpc.client examples. Both in
modules and in documentation. Initial patch contributed by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/20138">Issue #20138</a>: The wsgiref.application_uri() and wsgiref.request_uri()
functions now conform to PEP 3333 when handle non-ASCII URLs.</li>
<li><a class="reference external" href="https://bugs.python.org/19097">Issue #19097</a>: Raise the correct Exception when cgi.FieldStorage is given an
invalid fileobj.</li>
<li><a class="reference external" href="https://bugs.python.org/20152">Issue #20152</a>: Ported Python/import.c over to Argument Clinic.</li>
<li><a class="reference external" href="https://bugs.python.org/13107">Issue #13107</a>: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS.  Based on patch by
Elazar Gershuni.</li>
<li><a class="reference external" href="https://bugs.python.org/20207">Issue #20207</a>: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly
asked for.</li>
<li><a class="reference external" href="https://bugs.python.org/18960">Issue #18960</a>: The tokenize module now ignore the source encoding declaration
on the second line if the first line contains anything except a comment.</li>
<li><a class="reference external" href="https://bugs.python.org/20078">Issue #20078</a>: Reading malformed zipfiles no longer hangs with 100% CPU
consumption.</li>
<li><a class="reference external" href="https://bugs.python.org/20113">Issue #20113</a>: os.readv() and os.writev() now raise an OSError exception on
error instead of returning -1.</li>
<li><a class="reference external" href="https://bugs.python.org/19719">Issue #19719</a>: Make importlib.abc.MetaPathFinder.find_module(),
PathEntryFinder.find_loader(), and Loader.load_module() use PEP 451 APIs to
help with backwards-compatibility.</li>
<li><a class="reference external" href="https://bugs.python.org/20144">Issue #20144</a>: inspect.Signature now supports parsing simple symbolic
constants as parameter default values in __text_signature__.</li>
<li><a class="reference external" href="https://bugs.python.org/20072">Issue #20072</a>: Fixed multiple errors in tkinter with wantobjects is False.</li>
<li><a class="reference external" href="https://bugs.python.org/20229">Issue #20229</a>: Avoid plistlib deprecation warning in platform.mac_ver().</li>
<li><a class="reference external" href="https://bugs.python.org/14455">Issue #14455</a>: Fix some problems with the new binary plist support in plistlib.</li>
</ul>
</div>
<div class="section" id="id49">
<h3>IDLE<a class="headerlink" href="#id49" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17390">Issue #17390</a>: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.</li>
<li><a class="reference external" href="https://bugs.python.org/18960">Issue #18960</a>: IDLE now ignores the source encoding declaration on the second
line if the first line contains anything except a comment.</li>
</ul>
</div>
<div class="section" id="id50">
<h3>Tests<a class="headerlink" href="#id50" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20358">Issue #20358</a>: Tests for curses.window.overlay and curses.window.overwrite
no longer specify min{row,col} &gt; max{row,col}.</li>
<li><a class="reference external" href="https://bugs.python.org/19804">Issue #19804</a>: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.</li>
<li><a class="reference external" href="https://bugs.python.org/19886">Issue #19886</a>: Use better estimated memory requirements for bigmem tests.</li>
</ul>
</div>
<div class="section" id="id51">
<h3>Tools/Demos<a class="headerlink" href="#id51" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20390">Issue #20390</a>: Argument Clinic&#8217;s &#8220;file&#8221; output preset now defaults to
&#8220;{dirname}/clinic/{basename}.h&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/20390">Issue #20390</a>: Argument Clinic&#8217;s &#8220;class&#8221; directive syntax has been extended
with two new required arguments: &#8220;typedef&#8221; and &#8220;type_object&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/20390">Issue #20390</a>: Argument Clinic: If __new__ or __init__ functions didn&#8217;t use
kwargs (or args), the PyArg_NoKeywords (or PyArg_NoPositional) calls
generated are only run when the type object is an exact match.</li>
<li><a class="reference external" href="https://bugs.python.org/20390">Issue #20390</a>: Argument Clinic now fails if you have required parameters after
optional parameters.</li>
<li><a class="reference external" href="https://bugs.python.org/20390">Issue #20390</a>: Argument Clinic converters now have a new template they can
inject code into: &#8220;modifiers&#8221;.  Code put there is run in the parsing
function after argument parsing but before the call to the impl.</li>
<li><a class="reference external" href="https://bugs.python.org/20376">Issue #20376</a>: Argument Clinic now escapes backslashes in docstrings.</li>
<li><a class="reference external" href="https://bugs.python.org/20381">Issue #20381</a>: Argument Clinic now sanity checks the default argument when
c_default is also specified, providing a nice failure message for
disallowed values.</li>
<li><a class="reference external" href="https://bugs.python.org/20189">Issue #20189</a>: Argument Clinic now ensures that parser functions for
__new__ are always of type newfunc, the type of the tp_new slot.
Similarly, parser functions for __init__ are now always of type initproc,
the type of tp_init.</li>
<li><a class="reference external" href="https://bugs.python.org/20189">Issue #20189</a>: Argument Clinic now suppresses the docstring for __new__
and __init__ functions if no docstring is provided in the input.</li>
<li><a class="reference external" href="https://bugs.python.org/20189">Issue #20189</a>: Argument Clinic now suppresses the &#8220;self&#8221; parameter in the
impl for &#64;staticmethod functions.</li>
<li><a class="reference external" href="https://bugs.python.org/20294">Issue #20294</a>: Argument Clinic now supports argument parsing for __new__ and
__init__ functions.</li>
<li><a class="reference external" href="https://bugs.python.org/20299">Issue #20299</a>: Argument Clinic custom converters may now change the default
value of c_default and py_default with a class member.</li>
<li><a class="reference external" href="https://bugs.python.org/20287">Issue #20287</a>: Argument Clinic&#8217;s output is now configurable, allowing
delaying its output or even redirecting it to a separate file.</li>
<li><a class="reference external" href="https://bugs.python.org/20226">Issue #20226</a>: Argument Clinic now permits simple expressions
(e.g. &#8220;sys.maxsize - 1&#8221;) as default values for parameters.</li>
<li><a class="reference external" href="https://bugs.python.org/19936">Issue #19936</a>: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don&#8217;t provide command line interface.  Fixed
shebang lines in the unittestgui and checkpip scripts.</li>
<li><a class="reference external" href="https://bugs.python.org/20268">Issue #20268</a>: Argument Clinic now supports cloning the parameters and
return converter of existing functions.</li>
<li><a class="reference external" href="https://bugs.python.org/20228">Issue #20228</a>: Argument Clinic now has special support for class special
methods.</li>
<li><a class="reference external" href="https://bugs.python.org/20214">Issue #20214</a>: Fixed a number of small issues and documentation errors in
Argument Clinic (see issue for details).</li>
<li><a class="reference external" href="https://bugs.python.org/20196">Issue #20196</a>: Fixed a bug where Argument Clinic did not generate correct
parsing code for functions with positional-only parameters where all arguments
are optional.</li>
<li><a class="reference external" href="https://bugs.python.org/18960">Issue #18960</a>: 2to3 and the findnocoding.py script now ignore the source
encoding declaration on the second line if the first line contains anything
except a comment.</li>
<li><a class="reference external" href="https://bugs.python.org/19723">Issue #19723</a>: The marker comments Argument Clinic uses have been changed
to improve readability.</li>
<li><a class="reference external" href="https://bugs.python.org/20157">Issue #20157</a>: When Argument Clinic renames a parameter because its name
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.</li>
<li><a class="reference external" href="https://bugs.python.org/20141">Issue #20141</a>: Improved Argument Clinic&#8217;s support for the PyArg_Parse &#8220;O!&#8221;
format unit.</li>
<li><a class="reference external" href="https://bugs.python.org/20144">Issue #20144</a>: Argument Clinic now supports simple symbolic constants
as parameter default values.</li>
<li><a class="reference external" href="https://bugs.python.org/20143">Issue #20143</a>: The line numbers reported in Argument Clinic errors are
now more accurate.</li>
<li><a class="reference external" href="https://bugs.python.org/20142">Issue #20142</a>: Py_buffer variables generated by Argument Clinic are now
initialized with a default value.</li>
</ul>
</div>
<div class="section" id="id52">
<h3>Build<a class="headerlink" href="#id52" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/12837">Issue #12837</a>: Silence a tautological comparison warning on OS X under Clang in
socketmodule.c.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-beta-2">
<h2>Python 3.4.0 Beta 2<a class="headerlink" href="#python-3-4-0-beta-2" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2014-01-05</p>
<div class="section" id="id53">
<h3>Core and Builtins<a class="headerlink" href="#id53" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17432">Issue #17432</a>: Drop UCS2 from names of Unicode functions in python3.def.</li>
<li><a class="reference external" href="https://bugs.python.org/19526">Issue #19526</a>: Exclude all new API from the stable ABI. Exceptions can be
made if a need is demonstrated.</li>
<li><a class="reference external" href="https://bugs.python.org/19969">Issue #19969</a>: PyBytes_FromFormatV() now raises an OverflowError if &#8220;%c&#8221;
argument is not in range [0; 255].</li>
<li><a class="reference external" href="https://bugs.python.org/19995">Issue #19995</a>: %c, %o, %x, and %X now issue a DeprecationWarning on non-integer
input; reworded docs to clarify that an integer type should define both __int__
and __index__.</li>
<li><a class="reference external" href="https://bugs.python.org/19787">Issue #19787</a>: PyThread_set_key_value() now always set the value. In Python
3.3, the function did nothing if the key already exists (if the current value
is a non-NULL pointer).</li>
<li><a class="reference external" href="https://bugs.python.org/14432">Issue #14432</a>: Remove the thread state field from the frame structure. Fix a
crash when a generator is created in a C thread that is destroyed while the
generator is still used. The issue was that a generator contains a frame, and
the frame kept a reference to the Python state of the destroyed C thread. The
crash occurs when a trace function is setup.</li>
<li><a class="reference external" href="https://bugs.python.org/19576">Issue #19576</a>: PyGILState_Ensure() now initializes threads. At startup, Python
has no concrete GIL. If PyGILState_Ensure() is called from a new thread for
the first time and PyEval_InitThreads() was not called yet, a GIL needs to be
created.</li>
<li><a class="reference external" href="https://bugs.python.org/17576">Issue #17576</a>: Deprecation warning emitted now when __int__() or __index__()
return not int instance.</li>
<li><a class="reference external" href="https://bugs.python.org/19932">Issue #19932</a>: Fix typo in import.h, missing whitespaces in function prototypes.</li>
<li><a class="reference external" href="https://bugs.python.org/19736">Issue #19736</a>: Add module-level statvfs constants defined for GNU/glibc
based systems.</li>
<li><a class="reference external" href="https://bugs.python.org/20097">Issue #20097</a>: Fix bad use of &#8220;self&#8221; in importlib&#8217;s WindowsRegistryFinder.</li>
<li><a class="reference external" href="https://bugs.python.org/19729">Issue #19729</a>: In str.format(), fix recursive expansion in format spec.</li>
<li><a class="reference external" href="https://bugs.python.org/19638">Issue #19638</a>: Fix possible crash / undefined behaviour from huge (more than 2
billion characters) input strings in _Py_dg_strtod.</li>
</ul>
</div>
<div class="section" id="id54">
<h3>Library<a class="headerlink" href="#id54" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20154">Issue #20154</a>: Deadlock in asyncio.StreamReader.readexactly().</li>
<li><a class="reference external" href="https://bugs.python.org/16113">Issue #16113</a>: Remove sha3 module again.</li>
<li><a class="reference external" href="https://bugs.python.org/20111">Issue #20111</a>: pathlib.Path.with_suffix() now sanity checks the given suffix.</li>
<li>Fix breakage in TestSuite.countTestCases() introduced by <a class="reference external" href="https://bugs.python.org/11798">issue #11798</a>.</li>
<li><a class="reference external" href="https://bugs.python.org/20108">Issue #20108</a>: Avoid parameter name clash in inspect.getcallargs().</li>
<li><a class="reference external" href="https://bugs.python.org/19918">Issue #19918</a>: Fix PurePath.relative_to() under Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/19422">Issue #19422</a>: Explicitly disallow non-SOCK_STREAM sockets in the ssl
module, rather than silently let them emit clear text data.</li>
<li><a class="reference external" href="https://bugs.python.org/20046">Issue #20046</a>: Locale alias table no longer contains entities which can be
calculated.  Generalized support of the euro modifier.</li>
<li><a class="reference external" href="https://bugs.python.org/20027">Issue #20027</a>: Fixed locale aliases for devanagari locales.</li>
<li><a class="reference external" href="https://bugs.python.org/20067">Issue #20067</a>: Tkinter variables now work when wantobjects is false.</li>
<li><a class="reference external" href="https://bugs.python.org/19020">Issue #19020</a>: Tkinter now uses splitlist() instead of split() in configure
methods.</li>
<li><a class="reference external" href="https://bugs.python.org/19744">Issue #19744</a>: ensurepip now provides a better error message when Python is
built without SSL/TLS support (pip currently requires that support to run,
even if only operating with local wheel files)</li>
<li><a class="reference external" href="https://bugs.python.org/19734">Issue #19734</a>: ensurepip now ignores all pip environment variables to avoid
odd behaviour based on user configuration settings</li>
<li>Fix TypeError on &#8220;setup.py upload &#8211;show-response&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/20045">Issue #20045</a>: Fix &#8220;setup.py register &#8211;list-classifiers&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/18879">Issue #18879</a>: When a method is looked up on a temporary file, avoid closing
the file before the method is possibly called.</li>
<li><a class="reference external" href="https://bugs.python.org/20037">Issue #20037</a>: Avoid crashes when opening a text file late at interpreter
shutdown.</li>
<li><a class="reference external" href="https://bugs.python.org/19967">Issue #19967</a>: Thanks to the PEP 442, asyncio.Future now uses a
destructor to log uncaught exceptions, instead of the dedicated
_TracebackLogger class.</li>
<li>Added a Task.current_task() class method to asyncio.</li>
<li><a class="reference external" href="https://bugs.python.org/19850">Issue #19850</a>: Set SA_RESTART in asyncio when registering a signal
handler to limit EINTR occurrences.</li>
<li>Implemented write flow control in asyncio for proactor event loop (Windows).</li>
<li>Change write buffer in asyncio use to avoid O(N**2) behavior.  Make
write()/sendto() accept bytearray/memoryview.</li>
<li><a class="reference external" href="https://bugs.python.org/20034">Issue #20034</a>: Updated alias mapping to most recent locale.alias file
from X.org distribution using makelocalealias.py.</li>
<li><a class="reference external" href="https://bugs.python.org/5815">Issue #5815</a>: Fixed support for locales with modifiers.  Fixed support for
locale encodings with hyphens.</li>
<li><a class="reference external" href="https://bugs.python.org/20026">Issue #20026</a>: Fix the sqlite module to handle correctly invalid isolation
level (wrong type).</li>
<li><a class="reference external" href="https://bugs.python.org/18829">Issue #18829</a>: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields.  Original patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/19855">Issue #19855</a>: uuid.getnode() on Unix now looks on the PATH for the
executables used to find the mac address, with /sbin and /usr/sbin as
fallbacks.</li>
<li><a class="reference external" href="https://bugs.python.org/20007">Issue #20007</a>: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.</li>
<li><a class="reference external" href="https://bugs.python.org/19946">Issue #19946</a>: multiprocessing now uses runpy to initialize __main__ in
child processes when necessary, allowing it to correctly handle scripts
without suffixes and submodules that use explicit relative imports or
otherwise rely on parent modules being correctly imported prior to
execution.</li>
<li><a class="reference external" href="https://bugs.python.org/19921">Issue #19921</a>: When Path.mkdir() is called with parents=True, any missing
parent is created with the default permissions, ignoring the mode argument
(mimicking the POSIX &#8220;mkdir -p&#8221; command).</li>
<li><a class="reference external" href="https://bugs.python.org/19887">Issue #19887</a>: Improve the Path.resolve() algorithm to support certain
symlink chains.</li>
<li><a class="reference external" href="https://bugs.python.org/19912">Issue #19912</a>: Fixed numerous bugs in ntpath.splitunc().</li>
<li><a class="reference external" href="https://bugs.python.org/19911">Issue #19911</a>: ntpath.splitdrive() now correctly processes the &#8216;İ&#8217; character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).</li>
<li><a class="reference external" href="https://bugs.python.org/19532">Issue #19532</a>: python -m compileall with no filename/directory arguments now
respects the -f and -q flags instead of ignoring them.</li>
<li><a class="reference external" href="https://bugs.python.org/19623">Issue #19623</a>: Fixed writing to unseekable files in the aifc module.</li>
<li><a class="reference external" href="https://bugs.python.org/19946">Issue #19946</a>: multiprocessing.spawn now raises ImportError when the module to
be used as the main module cannot be imported.</li>
<li><a class="reference external" href="https://bugs.python.org/17919">Issue #17919</a>: select.poll.register() again works with poll.POLLNVAL on AIX.
Fixed integer overflow in the eventmask parameter.</li>
<li><a class="reference external" href="https://bugs.python.org/19063">Issue #19063</a>: if a Charset&#8217;s body_encoding was set to None, the email
package would generate a message claiming the Content-Transfer-Encoding
was 7bit, and produce garbage output for the content.  This now works.
A couple of other set_payload mishandlings of non-ASCII are also fixed.
In addition, calling set_payload with a string argument without
specifying a charset now raises an error (this is a new error in 3.4).</li>
<li><a class="reference external" href="https://bugs.python.org/15475">Issue #15475</a>: Add __sizeof__ implementations for itertools objects.</li>
<li><a class="reference external" href="https://bugs.python.org/19944">Issue #19944</a>: Fix importlib.find_spec() so it imports parents as needed
and move the function to importlib.util.</li>
<li><a class="reference external" href="https://bugs.python.org/19880">Issue #19880</a>: Fix a reference leak in unittest.TestCase. Explicitly break
reference cycles between frames and the _Outcome instance.</li>
<li><a class="reference external" href="https://bugs.python.org/17429">Issue #17429</a>: platform.linux_distribution() now decodes files from the UTF-8
encoding with the surrogateescape error handler, instead of decoding from the
locale encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.</li>
<li><a class="reference external" href="https://bugs.python.org/19343">Issue #19343</a>: Expose FreeBSD-specific APIs in resource module.  Original
patch by Koobs.</li>
<li><a class="reference external" href="https://bugs.python.org/19929">Issue #19929</a>: Call os.read with 32768 within subprocess.Popen.communicate
rather than 4096 for efficiency.  A microbenchmark shows Linux and OS X
both using ~50% less cpu time this way.</li>
<li><a class="reference external" href="https://bugs.python.org/19506">Issue #19506</a>: Use a memoryview to avoid a data copy when piping data
to stdin within subprocess.Popen.communicate.  5-10% less cpu usage.</li>
<li><a class="reference external" href="https://bugs.python.org/19876">Issue #19876</a>: selectors unregister() no longer raises ValueError or OSError
if the FD is closed (as long as it was registered).</li>
<li><a class="reference external" href="https://bugs.python.org/19908">Issue #19908</a>: pathlib now joins relative Windows paths correctly when a drive
is present.  Original patch by Antoine Pitrou.</li>
<li><a class="reference external" href="https://bugs.python.org/19296">Issue #19296</a>: Silence compiler warning in dbm_open</li>
<li><a class="reference external" href="https://bugs.python.org/6784">Issue #6784</a>: Strings from Python 2 can now be unpickled as bytes
objects by setting the encoding argument of Unpickler to be &#8216;bytes&#8217;.
Initial patch by Merlijn van Deen.</li>
<li><a class="reference external" href="https://bugs.python.org/19839">Issue #19839</a>: Fix regression in bz2 module&#8217;s handling of non-bzip2 data at
EOF, and analogous bug in lzma module.</li>
<li><a class="reference external" href="https://bugs.python.org/19881">Issue #19881</a>: Fix pickling bug where cpickle would emit bad pickle data for
large bytes string (i.e., with size greater than 2**32-1).</li>
<li><a class="reference external" href="https://bugs.python.org/19138">Issue #19138</a>: doctest&#8217;s IGNORE_EXCEPTION_DETAIL now allows a match when
no exception detail exists (no colon following the exception&#8217;s name, or
a colon does follow but no text follows the colon).</li>
<li><a class="reference external" href="https://bugs.python.org/19927">Issue #19927</a>: Add __eq__ to path-based loaders in importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/19827">Issue #19827</a>: On UNIX, setblocking() and settimeout() methods of
socket.socket can now avoid a second syscall if the ioctl() function can be
used, or if the non-blocking flag of the socket is unchanged.</li>
<li><a class="reference external" href="https://bugs.python.org/19785">Issue #19785</a>: smtplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.</li>
<li><a class="reference external" href="https://bugs.python.org/19784">Issue #19784</a>: poplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.</li>
<li><a class="reference external" href="https://bugs.python.org/19783">Issue #19783</a>: nntplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.</li>
<li><a class="reference external" href="https://bugs.python.org/19782">Issue #19782</a>: imaplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.</li>
<li><a class="reference external" href="https://bugs.python.org/20123">Issue #20123</a>: Fix pydoc.synopsis() for &#8220;binary&#8221; modules.</li>
<li><a class="reference external" href="https://bugs.python.org/19834">Issue #19834</a>: Support unpickling of exceptions pickled by Python 2.</li>
<li><a class="reference external" href="https://bugs.python.org/19781">Issue #19781</a>: ftplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.</li>
<li><a class="reference external" href="https://bugs.python.org/19509">Issue #19509</a>: Add SSLContext.check_hostname to match the peer&#8217;s certificate
with server_hostname on handshake.</li>
<li><a class="reference external" href="https://bugs.python.org/15798">Issue #15798</a>: Fixed subprocess.Popen() to no longer fail if file
descriptor 0, 1 or 2 is closed.</li>
<li><a class="reference external" href="https://bugs.python.org/17897">Issue #17897</a>: Optimized unpickle prefetching.</li>
<li><a class="reference external" href="https://bugs.python.org/3693">Issue #3693</a>: Make the error message more helpful when the array.array()
constructor is given a str. Move the array module typecode documentation to
the docstring of the constructor.</li>
<li><a class="reference external" href="https://bugs.python.org/19088">Issue #19088</a>: Fixed incorrect caching of the copyreg module in
object.__reduce__() and object.__reduce_ex__().</li>
<li><a class="reference external" href="https://bugs.python.org/19698">Issue #19698</a>: Removed exec_module() methods from
importlib.machinery.BuiltinImporter and ExtensionFileLoader.</li>
<li><a class="reference external" href="https://bugs.python.org/18864">Issue #18864</a>: Added a setter for ModuleSpec.has_location.</li>
<li>Fixed _pickle.Unpickler to not fail when loading empty strings as
persistent IDs.</li>
<li><a class="reference external" href="https://bugs.python.org/11480">Issue #11480</a>: Fixed copy.copy to work with classes with custom metaclasses.
Patch by Daniel Urban.</li>
<li><a class="reference external" href="https://bugs.python.org/6477">Issue #6477</a>: Added support for pickling the types of built-in singletons
(i.e., Ellipsis, NotImplemented, None).</li>
<li><a class="reference external" href="https://bugs.python.org/19713">Issue #19713</a>: Add remaining PEP 451-related deprecations and move away
from using find_module/find_loaer/load_module.</li>
<li><a class="reference external" href="https://bugs.python.org/19708">Issue #19708</a>: Update pkgutil to use the new importer APIs.</li>
<li><a class="reference external" href="https://bugs.python.org/19703">Issue #19703</a>: Update pydoc to use the new importer APIs.</li>
<li><a class="reference external" href="https://bugs.python.org/19851">Issue #19851</a>: Fixed a regression in reloading sub-modules.</li>
<li>ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME.</li>
<li><a class="reference external" href="https://bugs.python.org/19802">Issue #19802</a>: Add socket.SO_PRIORITY.</li>
<li><a class="reference external" href="https://bugs.python.org/11508">Issue #11508</a>: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface.  Original patch by Kent Frazier.</li>
<li><a class="reference external" href="https://bugs.python.org/11489">Issue #11489</a>: JSON decoder now accepts lone surrogates.</li>
<li><a class="reference external" href="https://bugs.python.org/19545">Issue #19545</a>: Avoid chained exceptions while passing stray % to
time.strptime().  Initial patch by Claudiu Popa.</li>
</ul>
</div>
<div class="section" id="id55">
<h3>IDLE<a class="headerlink" href="#id55" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20058">Issue #20058</a>: sys.stdin.readline() in IDLE now always returns only one line.</li>
<li><a class="reference external" href="https://bugs.python.org/19481">Issue #19481</a>: print() of string subclass instance in IDLE no longer hangs.</li>
<li><a class="reference external" href="https://bugs.python.org/18270">Issue #18270</a>: Prevent possible IDLE AttributeError on OS X when no initial
shell window is present.</li>
</ul>
</div>
<div class="section" id="id56">
<h3>Tests<a class="headerlink" href="#id56" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20055">Issue #20055</a>: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/20070">Issue #20070</a>: Don&#8217;t run test_urllib2net when network resources are not
enabled.</li>
<li><a class="reference external" href="https://bugs.python.org/19938">Issue #19938</a>: Re-enabled test_bug_1333982 in test_dis, which had been
disabled since 3.0 due to the changes in listcomp handling.</li>
<li><a class="reference external" href="https://bugs.python.org/19320">Issue #19320</a>: test_tcl no longer fails when wantobjects is false.</li>
<li><a class="reference external" href="https://bugs.python.org/19919">Issue #19919</a>: Fix flaky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/19912">Issue #19912</a>: Added tests for ntpath.splitunc().</li>
<li><a class="reference external" href="https://bugs.python.org/19828">Issue #19828</a>: Fixed test_site when the whole suite is run with -S.</li>
<li><a class="reference external" href="https://bugs.python.org/19928">Issue #19928</a>: Implemented a test for repr() of cell objects.</li>
<li><a class="reference external" href="https://bugs.python.org/19535">Issue #19535</a>: Fixed test_docxmlrpc, test_functools, test_inspect, and
test_statistics when python is run with -OO.</li>
<li><a class="reference external" href="https://bugs.python.org/19926">Issue #19926</a>: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/19572">Issue #19572</a>: More skipped tests explicitly marked as skipped.</li>
<li><a class="reference external" href="https://bugs.python.org/19595">Issue #19595</a>, #19987: Re-enabled a long-disabled test in test_winsound.</li>
<li><a class="reference external" href="https://bugs.python.org/19588">Issue #19588</a>: Fixed tests in test_random that were silently skipped most
of the time.  Patch by Julian Gindi.</li>
</ul>
</div>
<div class="section" id="id57">
<h3>Build<a class="headerlink" href="#id57" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19728">Issue #19728</a>: Enable pip installation by default on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/16136">Issue #16136</a>: Remove VMS support</li>
<li><a class="reference external" href="https://bugs.python.org/18215">Issue #18215</a>: Add script Tools/ssl/test_multiple_versions.py to compile and
run Python&#8217;s unit tests with multiple versions of OpenSSL.</li>
<li><a class="reference external" href="https://bugs.python.org/19922">Issue #19922</a>: define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_t
for mbrtowc().</li>
<li><a class="reference external" href="https://bugs.python.org/19788">Issue #19788</a>: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build&#8217;s python(_d).exe still running.</li>
</ul>
</div>
<div class="section" id="id58">
<h3>Documentation<a class="headerlink" href="#id58" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/20265">Issue #20265</a>: Updated some parts of the Using Windows document.</li>
<li><a class="reference external" href="https://bugs.python.org/20266">Issue #20266</a>: Updated some parts of the Windows FAQ.</li>
<li><a class="reference external" href="https://bugs.python.org/20255">Issue #20255</a>: Updated the about and bugs pages.</li>
<li><a class="reference external" href="https://bugs.python.org/20253">Issue #20253</a>: Fixed a typo in the ipaddress docs that advertised an
illegal attribute name.  Found by INADA Naoki.</li>
<li><a class="reference external" href="https://bugs.python.org/18840">Issue #18840</a>: Introduce the json module in the tutorial, and de-emphasize
the pickle module.</li>
<li><a class="reference external" href="https://bugs.python.org/19845">Issue #19845</a>: Updated the Compiling Python on Windows section.</li>
<li><a class="reference external" href="https://bugs.python.org/19795">Issue #19795</a>: Improved markup of True/False constants.</li>
</ul>
</div>
<div class="section" id="id59">
<h3>Tools/Demos<a class="headerlink" href="#id59" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19659">Issue #19659</a>: Added documentation for Argument Clinic.</li>
<li><a class="reference external" href="https://bugs.python.org/19976">Issue #19976</a>: Argument Clinic METH_NOARGS functions now always
take two parameters.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-beta-1">
<h2>Python 3.4.0 Beta 1<a class="headerlink" href="#python-3-4-0-beta-1" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2013-11-24</p>
<div class="section" id="id60">
<h3>Core and Builtins<a class="headerlink" href="#id60" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Use the repr of a module name in more places in import, especially
exceptions.</li>
<li><a class="reference external" href="https://bugs.python.org/19619">Issue #19619</a>: str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings, rather
than attempting the encoding or decoding operation and then throwing a
TypeError for an unexpected output type. (The latter mechanism remains
in place for third party non-text encodings)</li>
<li><a class="reference external" href="https://bugs.python.org/19183">Issue #19183</a>: Implement PEP 456 &#8216;secure and interchangeable hash algorithm&#8217;.
Python now uses SipHash24 on all major platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/12892">Issue #12892</a>: The utf-16* and utf-32* encoders no longer allow surrogate code
points (U+D800-U+DFFF) to be encoded.  The utf-32* decoders no longer decode
byte sequences that correspond to surrogate code points.  The surrogatepass
error handler now works with the utf-16* and utf-32* codecs.  Based on
patches by Victor Stinner and Kang-Hao (Kenny) Lu.</li>
<li><a class="reference external" href="https://bugs.python.org/17806">Issue #17806</a>: Added keyword-argument support for &#8220;tabsize&#8221; to
str/bytes.expandtabs().</li>
<li><a class="reference external" href="https://bugs.python.org/17828">Issue #17828</a>: Output type errors in str.encode(), bytes.decode() and
bytearray.decode() now direct users to codecs.encode() or codecs.decode()
as appropriate.</li>
<li><a class="reference external" href="https://bugs.python.org/17828">Issue #17828</a>: The interpreter now attempts to chain errors that occur in
codec processing with a replacement exception of the same type that
includes the codec name in the error message. It ensures it only does this
when the creation of the replacement exception won&#8217;t lose any information.</li>
<li><a class="reference external" href="https://bugs.python.org/19466">Issue #19466</a>: Clear the frames of daemon threads earlier during the
Python shutdown to call objects destructors. So &#8220;unclosed file&#8221; resource
warnings are now corretly emitted for daemon threads.</li>
<li><a class="reference external" href="https://bugs.python.org/19514">Issue #19514</a>: Deduplicate some _Py_IDENTIFIER declarations.
Patch by Andrei Dorian Duma.</li>
<li><a class="reference external" href="https://bugs.python.org/17936">Issue #17936</a>: Fix O(n**2) behaviour when adding or removing many subclasses
of a given type.</li>
<li><a class="reference external" href="https://bugs.python.org/19428">Issue #19428</a>: zipimport now handles errors when reading truncated or invalid
ZIP archive.</li>
<li><a class="reference external" href="https://bugs.python.org/18408">Issue #18408</a>: Add a new PyFrame_FastToLocalsWithError() function to handle
exceptions when merging fast locals into f_locals of a frame.
PyEval_GetLocals() now raises an exception and return NULL on failure.</li>
<li><a class="reference external" href="https://bugs.python.org/19369">Issue #19369</a>: Optimized the usage of __length_hint__().</li>
<li><a class="reference external" href="https://bugs.python.org/18603">Issue #18603</a>: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Python executable and not removed by the linker&#8217;s optimizer.</li>
<li><a class="reference external" href="https://bugs.python.org/19306">Issue #19306</a>: Add extra hints to the faulthandler module&#8217;s stack
dumps that these are &#8220;upside down&#8221;.</li>
</ul>
</div>
<div class="section" id="id61">
<h3>Library<a class="headerlink" href="#id61" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/3158">Issue #3158</a>: doctest can now find doctests in functions and methods
written in C.</li>
<li><a class="reference external" href="https://bugs.python.org/13477">Issue #13477</a>: Added command line interface to the tarfile module.
Original patch by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/19674">Issue #19674</a>: inspect.signature() now produces a correct signature
for some builtins.</li>
<li><a class="reference external" href="https://bugs.python.org/19722">Issue #19722</a>: Added opcode.stack_effect(), which
computes the stack effect of bytecode instructions.</li>
<li><a class="reference external" href="https://bugs.python.org/19735">Issue #19735</a>: Implement private function ssl._create_stdlib_context() to
create SSLContext objects in Python&#8217;s stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().</li>
<li><a class="reference external" href="https://bugs.python.org/16203">Issue #16203</a>: Add re.fullmatch() function and regex.fullmatch() method,
which anchor the pattern at both ends of the string to match.
Original patch by Matthew Barnett.</li>
<li><a class="reference external" href="https://bugs.python.org/13592">Issue #13592</a>: Improved the repr for regular expression pattern objects.
Based on patch by Hugo Lopes Tavares.</li>
<li><a class="reference external" href="https://bugs.python.org/19641">Issue #19641</a>: Added the audioop.byteswap() function to convert big-endian
samples to little-endian and vice versa.</li>
<li><a class="reference external" href="https://bugs.python.org/15204">Issue #15204</a>: Deprecated the &#8216;U&#8217; mode in file-like objects.</li>
<li><a class="reference external" href="https://bugs.python.org/17810">Issue #17810</a>: Implement PEP 3154, pickle protocol 4.</li>
<li><a class="reference external" href="https://bugs.python.org/19668">Issue #19668</a>: Added support for the cp1125 encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/19689">Issue #19689</a>: Add ssl.create_default_context() factory function. It creates
a new SSLContext object with secure default settings.</li>
<li><a class="reference external" href="https://bugs.python.org/19727">Issue #19727</a>: os.utime(..., None) is now potentially more precise
under Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/17201">Issue #17201</a>: ZIP64 extensions now are enabled by default.  Patch by
William Mallard.</li>
<li><a class="reference external" href="https://bugs.python.org/19292">Issue #19292</a>: Add SSLContext.load_default_certs() to load default root CA
certificates from default stores or system stores. By default the method
loads CA certs for authentication of server certs.</li>
<li><a class="reference external" href="https://bugs.python.org/19673">Issue #19673</a>: Add pathlib to the stdlib as a provisional module (PEP 428).</li>
<li><a class="reference external" href="https://bugs.python.org/16596">Issue #16596</a>: pdb in a generator now properly skips over yield and
yield from rather than stepping out of the generator into its
caller.  (This is essential for stepping through asyncio coroutines.)</li>
<li><a class="reference external" href="https://bugs.python.org/17916">Issue #17916</a>: Added dis.Bytecode.from_traceback() and
dis.Bytecode.current_offset to easily display &#8220;current instruction&#8221;
markers in the new disassembly API (Patch by Claudiu Popa).</li>
<li><a class="reference external" href="https://bugs.python.org/19552">Issue #19552</a>: venv now supports bootstrapping pip into virtual environments</li>
<li><a class="reference external" href="https://bugs.python.org/17134">Issue #17134</a>: Finalize interface to Windows&#8217; certificate store. Cert and
CRL enumeration are now two functions. enum_certificates() also returns
purpose flags as set of OIDs.</li>
<li><a class="reference external" href="https://bugs.python.org/19555">Issue #19555</a>: Restore sysconfig.get_config_var(&#8216;SO&#8217;), (and the distutils
equivalent) with a DeprecationWarning pointing people at $EXT_SUFFIX.</li>
<li><a class="reference external" href="https://bugs.python.org/8813">Issue #8813</a>: Add SSLContext.verify_flags to change the verification flags
of the context in order to enable certification revocation list (CRL)
checks or strict X509 rules.</li>
<li><a class="reference external" href="https://bugs.python.org/18294">Issue #18294</a>: Fix the zlib module to make it 64-bit safe.</li>
<li><a class="reference external" href="https://bugs.python.org/19682">Issue #19682</a>: Fix compatibility issue with old version of OpenSSL that
was introduced by <a class="reference external" href="https://bugs.python.org/18379">Issue #18379</a>.</li>
<li><a class="reference external" href="https://bugs.python.org/14455">Issue #14455</a>: plistlib now supports binary plists and has an updated API.</li>
<li><a class="reference external" href="https://bugs.python.org/19633">Issue #19633</a>: Fixed writing not compressed 16- and 32-bit wave files on
big-endian platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/18379">Issue #18379</a>: SSLSocket.getpeercert() returns CA issuer AIA fields, OCSP
and CRL distribution points.</li>
<li><a class="reference external" href="https://bugs.python.org/18138">Issue #18138</a>: Implement cadata argument of SSLContext.load_verify_location()
to load CA certificates and CRL from memory. It supports PEM and DER
encoded strings.</li>
<li><a class="reference external" href="https://bugs.python.org/18775">Issue #18775</a>: Add name and block_size attribute to HMAC object. They now
provide the same API elements as non-keyed cryptographic hash functions.</li>
<li><a class="reference external" href="https://bugs.python.org/17276">Issue #17276</a>: MD5 as default digestmod for HMAC is deprecated. The HMAC
module supports digestmod names, e.g. hmac.HMAC(&#8216;sha1&#8217;).</li>
<li><a class="reference external" href="https://bugs.python.org/19449">Issue #19449</a>: in csv&#8217;s writerow, handle non-string keys when generating the
error message that certain keys are not in the &#8216;fieldnames&#8217; list.</li>
<li><a class="reference external" href="https://bugs.python.org/13633">Issue #13633</a>: Added a new convert_charrefs keyword arg to HTMLParser that,
when True, automatically converts all character references.</li>
<li><a class="reference external" href="https://bugs.python.org/2927">Issue #2927</a>: Added the unescape() function to the html module.</li>
<li><a class="reference external" href="https://bugs.python.org/8402">Issue #8402</a>: Added the escape() function to the glob module.</li>
<li><a class="reference external" href="https://bugs.python.org/17618">Issue #17618</a>: Add Base85 and Ascii85 encoding/decoding to the base64 module.</li>
<li><a class="reference external" href="https://bugs.python.org/19634">Issue #19634</a>: time.strftime(&#8220;%y&#8221;) now raises a ValueError on AIX when given a
year before 1900.</li>
<li>Fix test.support.bind_port() to not cause an error when Python was compiled
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.</li>
<li>Fix compilation error under gcc of the ctypes module bundled libffi for arm.</li>
<li><a class="reference external" href="https://bugs.python.org/19448">Issue #19448</a>: Add private API to SSL module to lookup ASN.1 objects by OID,
NID, short name and long name.</li>
<li><a class="reference external" href="https://bugs.python.org/19282">Issue #19282</a>: dbm.open now supports the context management protocol. (Inital
patch by Claudiu Popa)</li>
<li><a class="reference external" href="https://bugs.python.org/8311">Issue #8311</a>: Added support for writing any bytes-like objects in the aifc,
sunau, and wave modules.</li>
<li><a class="reference external" href="https://bugs.python.org/5202">Issue #5202</a>: Added support for unseekable files in the wave module.</li>
<li><a class="reference external" href="https://bugs.python.org/19544">Issue #19544</a> and <a class="reference external" href="https://bugs.python.org/1180">Issue #1180</a>: Restore global option to ignore
~/.pydistutils.cfg in Distutils, accidentally removed in backout of
distutils2 changes.</li>
<li><a class="reference external" href="https://bugs.python.org/19523">Issue #19523</a>: Closed FileHandler leak which occurred when delay was set.</li>
<li><a class="reference external" href="https://bugs.python.org/19544">Issue #19544</a> and <a class="reference external" href="https://bugs.python.org/6516">Issue #6516</a>: Restore support for &#8211;user and &#8211;group
parameters to sdist command accidentally rolled back as part of the
distutils2 rollback.</li>
<li><a class="reference external" href="https://bugs.python.org/13674">Issue #13674</a>: Prevented time.strftime from crashing on Windows when given
a year before 1900 and a format of %y.</li>
<li><a class="reference external" href="https://bugs.python.org/19406">Issue #19406</a>: implementation of the ensurepip module (part of PEP 453).
Patch by Donald Stufft and Nick Coghlan.</li>
<li><a class="reference external" href="https://bugs.python.org/19544">Issue #19544</a> and <a class="reference external" href="https://bugs.python.org/6286">Issue #6286</a>: Restore use of urllib over http allowing use
of http_proxy for Distutils upload command, a feature accidentally lost
in the rollback of distutils2.</li>
<li><a class="reference external" href="https://bugs.python.org/19544">Issue #19544</a> and <a class="reference external" href="https://bugs.python.org/7457">Issue #7457</a>: Restore the read_pkg_file method to
distutils.dist.DistributionMetadata accidentally removed in the undo of
distutils2.</li>
<li><a class="reference external" href="https://bugs.python.org/16685">Issue #16685</a>: Added support for any bytes-like objects in the audioop module.
Removed support for strings.</li>
<li><a class="reference external" href="https://bugs.python.org/7171">Issue #7171</a>: Add Windows implementation of <tt class="docutils literal"><span class="pre">inet_ntop</span></tt> and <tt class="docutils literal"><span class="pre">inet_pton</span></tt>
to socket module. Patch by Atsuo Ishimoto.</li>
<li><a class="reference external" href="https://bugs.python.org/19261">Issue #19261</a>: Added support for writing 24-bit samples in the sunau module.</li>
<li><a class="reference external" href="https://bugs.python.org/1097797">Issue #1097797</a>: Added CP273 encoding, used on IBM mainframes in
Germany and Austria.  Mapping provided by Michael Bierenfeld.</li>
<li><a class="reference external" href="https://bugs.python.org/1575020">Issue #1575020</a>: Fixed support of 24-bit wave files on big-endian platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/19378">Issue #19378</a>: Fixed a number of cases in the dis module where the new
&#8220;file&#8221; parameter was not being honoured correctly</li>
<li><a class="reference external" href="https://bugs.python.org/19378">Issue #19378</a>: Removed the &#8220;dis.Bytecode.show_info&#8221; method</li>
<li><a class="reference external" href="https://bugs.python.org/19378">Issue #19378</a>: Renamed the &#8220;dis.Bytecode.display_code&#8221; method to
&#8220;dis.Bytecode.dis&#8221; and converted it to returning a string rather than
printing output.</li>
<li><a class="reference external" href="https://bugs.python.org/19378">Issue #19378</a>: the &#8220;line_offset&#8221; parameter in the new &#8220;dis.get_instructions&#8221;
API has been renamed to &#8220;first_line&#8221; (and the default value and usage
changed accordingly). This should reduce confusion with the more common use
of &#8220;offset&#8221; in the dis docs to refer to bytecode offsets.</li>
<li><a class="reference external" href="https://bugs.python.org/18678">Issue #18678</a>: Corrected spwd struct member names in spwd module:
sp_nam-&gt;sp_namp, and sp_pwd-&gt;sp_pwdp.  The old names are kept as extra
structseq members, for backward compatibility.</li>
<li><a class="reference external" href="https://bugs.python.org/6157">Issue #6157</a>: Fixed tkinter.Text.debug().  tkinter.Text.bbox() now raises
TypeError instead of TclError on wrong number of arguments.  Original patch
by Guilherme Polo.</li>
<li><a class="reference external" href="https://bugs.python.org/10197">Issue #10197</a>: Rework subprocess.get[status]output to use subprocess
functionality and thus to work on Windows. Patch by Nick Coghlan</li>
<li><a class="reference external" href="https://bugs.python.org/6160">Issue #6160</a>: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.</li>
<li><a class="reference external" href="https://bugs.python.org/19403">Issue #19403</a>: contextlib.redirect_stdout is now reentrant</li>
<li><a class="reference external" href="https://bugs.python.org/19286">Issue #19286</a>: Directories in <tt class="docutils literal"><span class="pre">package_data</span></tt> are no longer added to
the filelist, preventing failure outlined in the ticket.</li>
<li><a class="reference external" href="https://bugs.python.org/19480">Issue #19480</a>: HTMLParser now accepts all valid start-tag names as defined
by the HTML5 standard.</li>
<li><a class="reference external" href="https://bugs.python.org/15114">Issue #15114</a>: The html.parser module now raises a DeprecationWarning when the
strict argument of HTMLParser or the HTMLParser.error method are used.</li>
<li><a class="reference external" href="https://bugs.python.org/19410">Issue #19410</a>: Undo the special-casing removal of &#8216;&#8217; for
importlib.machinery.FileFinder.</li>
<li><a class="reference external" href="https://bugs.python.org/19424">Issue #19424</a>: Fix the warnings module to accept filename containing surrogate
characters.</li>
<li><a class="reference external" href="https://bugs.python.org/19435">Issue #19435</a>: Fix directory traversal attack on CGIHttpRequestHandler.</li>
<li><a class="reference external" href="https://bugs.python.org/19227">Issue #19227</a>: Remove pthread_atfork() handler. The handler was added to
solve #18747 but has caused issues.</li>
<li><a class="reference external" href="https://bugs.python.org/19420">Issue #19420</a>: Fix reference leak in module initalization code of
_hashopenssl.c</li>
<li><a class="reference external" href="https://bugs.python.org/19329">Issue #19329</a>: Optimized compiling charsets in regular expressions.</li>
<li><a class="reference external" href="https://bugs.python.org/19227">Issue #19227</a>: Try to fix deadlocks caused by re-seeding then OpenSSL
pseudo-random number generator on fork().</li>
<li><a class="reference external" href="https://bugs.python.org/16037">Issue #16037</a>: HTTPMessage.readheaders() raises an HTTPException when more than
100 headers are read.  Adapted from patch by Jyrki Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/16040">Issue #16040</a>: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory.  Patch by Jyrki
Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/16041">Issue #16041</a>: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
prevent readline() calls from consuming too much memory.  Patch by Jyrki
Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/17997">Issue #17997</a>: Change behavior of <tt class="docutils literal"><span class="pre">ssl.match_hostname()</span></tt> to follow RFC 6125,
for security reasons.  It now doesn&#8217;t match multiple wildcards nor wildcards
inside IDN fragments.</li>
<li><a class="reference external" href="https://bugs.python.org/16039">Issue #16039</a>: CVE-2013-1752: Change use of readline in imaplib module to limit
line length.  Patch by Emil Lind.</li>
<li><a class="reference external" href="https://bugs.python.org/19330">Issue #19330</a>: the unnecessary wrapper functions have been removed from the
implementations of the new contextlib.redirect_stdout and
contextlib.suppress context managers, which also ensures they provide
reasonable help() output on instances</li>
<li><a class="reference external" href="https://bugs.python.org/19393">Issue #19393</a>: Fix symtable.symtable function to not be confused when there are
functions or classes named &#8220;top&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/18685">Issue #18685</a>: Restore re performance to pre-PEP 393 levels.</li>
<li><a class="reference external" href="https://bugs.python.org/19339">Issue #19339</a>: telnetlib module is now using time.monotonic() when available
to compute timeout.</li>
<li><a class="reference external" href="https://bugs.python.org/19399">Issue #19399</a>: fix sporadic test_subprocess failure.</li>
<li><a class="reference external" href="https://bugs.python.org/13234">Issue #13234</a>: Fix os.listdir to work with extended paths on Windows.
Patch by Santoso Wijaya.</li>
<li><a class="reference external" href="https://bugs.python.org/19375">Issue #19375</a>: The site module adding a &#8220;site-python&#8221; directory to sys.path,
if it exists, is now deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/19379">Issue #19379</a>: Lazily import linecache in the warnings module, to make
startup with warnings faster until a warning gets printed.</li>
<li><a class="reference external" href="https://bugs.python.org/19288">Issue #19288</a>: Fixed the &#8220;in&#8221; operator of dbm.gnu databases for string
argument.  Original patch by Arfrever Frehtes Taifersar Arahesis.</li>
<li><a class="reference external" href="https://bugs.python.org/19287">Issue #19287</a>: Fixed the &#8220;in&#8221; operator of dbm.ndbm databases for string
argument.  Original patch by Arfrever Frehtes Taifersar Arahesis.</li>
<li><a class="reference external" href="https://bugs.python.org/19327">Issue #19327</a>: Fixed the working of regular expressions with too big charset.</li>
<li><a class="reference external" href="https://bugs.python.org/17400">Issue #17400</a>: New &#8216;is_global&#8217; attribute for ipaddress to tell if an address
is allocated by IANA for global or private networks.</li>
<li><a class="reference external" href="https://bugs.python.org/19350">Issue #19350</a>: Increasing the test coverage of macurl2path. Patch by Colin
Williams.</li>
<li><a class="reference external" href="https://bugs.python.org/19365">Issue #19365</a>: Optimized the parsing of long replacement string in re.sub*()
functions.</li>
<li><a class="reference external" href="https://bugs.python.org/19352">Issue #19352</a>: Fix unittest discovery when a module can be reached
through several paths (e.g. under Debian/Ubuntu with virtualenv).</li>
<li><a class="reference external" href="https://bugs.python.org/15207">Issue #15207</a>: Fix mimetypes to read from correct part of Windows registry
Original patch by Dave Chambers</li>
<li><a class="reference external" href="https://bugs.python.org/16595">Issue #16595</a>: Add prlimit() to resource module.</li>
<li><a class="reference external" href="https://bugs.python.org/19324">Issue #19324</a>: Expose Linux-specific constants in resource module.</li>
<li>Load SSL&#8217;s error strings in hashlib.</li>
<li><a class="reference external" href="https://bugs.python.org/18527">Issue #18527</a>: Upgrade internal copy of zlib to 1.2.8.</li>
<li><a class="reference external" href="https://bugs.python.org/19274">Issue #19274</a>: Add a filterfunc parameter to PyZipFile.writepy.</li>
<li><a class="reference external" href="https://bugs.python.org/8964">Issue #8964</a>: fix platform._sys_version to handle IronPython 2.6+.
Patch by Martin Matusiak.</li>
<li><a class="reference external" href="https://bugs.python.org/19413">Issue #19413</a>: Restore pre-3.3 reload() semantics of re-finding modules.</li>
<li><a class="reference external" href="https://bugs.python.org/18958">Issue #18958</a>: Improve error message for json.load(s) while passing a string
that starts with a UTF-8 BOM.</li>
<li><a class="reference external" href="https://bugs.python.org/19307">Issue #19307</a>: Improve error message for json.load(s) while passing objects
of the wrong type.</li>
<li><a class="reference external" href="https://bugs.python.org/16038">Issue #16038</a>: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.</li>
<li><a class="reference external" href="https://bugs.python.org/17087">Issue #17087</a>: Improved the repr for regular expression match objects.</li>
</ul>
</div>
<div class="section" id="id62">
<h3>Tests<a class="headerlink" href="#id62" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19664">Issue #19664</a>: test_userdict&#8217;s repr test no longer depends on the order
of dict elements.</li>
<li><a class="reference external" href="https://bugs.python.org/19440">Issue #19440</a>: Clean up test_capi by removing an unnecessary __future__
import, converting from test_main to unittest.main, and running the
_testcapi module tests as subTests of a unittest TestCase method.</li>
<li><a class="reference external" href="https://bugs.python.org/19378">Issue #19378</a>: the main dis module tests are now run with both stdout
redirection <em>and</em> passing an explicit file parameter</li>
<li><a class="reference external" href="https://bugs.python.org/19378">Issue #19378</a>: removed the not-actually-helpful assertInstructionMatches
and assertBytecodeExactlyMatches helpers from bytecode_helper</li>
<li><a class="reference external" href="https://bugs.python.org/18702">Issue #18702</a>: All skipped tests now reported as skipped.</li>
<li><a class="reference external" href="https://bugs.python.org/19439">Issue #19439</a>: interpreter embedding tests are now executed on Windows
(Patch by Zachary Ware)</li>
<li><a class="reference external" href="https://bugs.python.org/19085">Issue #19085</a>: Added basic tests for all tkinter widget options.</li>
<li><a class="reference external" href="https://bugs.python.org/19384">Issue #19384</a>: Fix test_py_compile for root user, patch by Claudiu Popa.</li>
</ul>
</div>
<div class="section" id="id63">
<h3>Documentation<a class="headerlink" href="#id63" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18326">Issue #18326</a>: Clarify that list.sort&#8217;s arguments are keyword-only.  Also,
attempt to reduce confusion in the glossary by not saying there are
different &#8220;types&#8221; of arguments and parameters.</li>
</ul>
</div>
<div class="section" id="id64">
<h3>Build<a class="headerlink" href="#id64" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19358">Issue #19358</a>: &#8220;make clinic&#8221; now runs the Argument Clinic preprocessor
over all CPython source files.</li>
<li>Update SQLite to 3.8.1, xz to 5.0.5, and Tcl/Tk to 8.6.1 on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/16632">Issue #16632</a>: Enable DEP and ASLR on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/17791">Issue #17791</a>: Drop PREFIX and EXEC_PREFIX definitions from PC/pyconfig.h</li>
<li>Add workaround for VS 2010 nmake clean issue. VS 2010 doesn&#8217;t set up PATH
for nmake.exe correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/19550">Issue #19550</a>: Implement Windows installer changes of PEP 453 (ensurepip).</li>
<li><a class="reference external" href="https://bugs.python.org/19520">Issue #19520</a>: Fix compiler warning in the _sha3 module on 32bit Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/19356">Issue #19356</a>: Avoid using a C variabled named &#8220;_self&#8221;, it&#8217;s a reserved
word in some C compilers.</li>
<li><a class="reference external" href="https://bugs.python.org/15792">Issue #15792</a>: Correct build options on Win64. Patch by Jeremy Kloth.</li>
<li><a class="reference external" href="https://bugs.python.org/19373">Issue #19373</a>: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem for OS X installer build.</li>
<li><a class="reference external" href="https://bugs.python.org/19649">Issue #19649</a>: On OS X, the same set of file names are now installed
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds.  pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds.  The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.</li>
<li><a class="reference external" href="https://bugs.python.org/19553">Issue #19553</a>: PEP 453 - &#8220;make install&#8221; and &#8220;make altinstall&#8221; now install or
upgrade pip by default, using the bundled pip provided by the new ensurepip
module.  A new configure option, &#8211;with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip &#8220;&#8211;upgrade&#8221; option.  The option
can also be set with &#8220;make [alt]install ENSUREPIP=[upgrade|installno]&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/19551">Issue #19551</a>: PEP 453 - the OS X installer now installs pip by default.</li>
<li>Update third-party libraries for OS X installers: xz 5.0.3 -&gt; 5.0.5,
SQLite 3.7.13 -&gt; 3.8.1</li>
<li><a class="reference external" href="https://bugs.python.org/15663">Issue #15663</a>: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1.
Some third-party projects, such as Matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.</li>
</ul>
</div>
<div class="section" id="id65">
<h3>Tools/Demos<a class="headerlink" href="#id65" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19730">Issue #19730</a>: Argument Clinic now supports all the existing PyArg
&#8220;format units&#8221; as legacy converters, as well as two new features:
&#8220;self converters&#8221; and the &#8220;version&#8221; directive.</li>
<li><a class="reference external" href="https://bugs.python.org/19552">Issue #19552</a>: pyvenv now bootstraps pip into virtual environments by
default (pass &#8211;without-pip to request the old behaviour)</li>
<li><a class="reference external" href="https://bugs.python.org/19390">Issue #19390</a>: Argument Clinic no longer accepts malformed Python
and C ids.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-alpha-4">
<h2>Python 3.4.0 Alpha 4<a class="headerlink" href="#python-3-4-0-alpha-4" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2013-10-20</p>
<div class="section" id="id66">
<h3>Core and Builtins<a class="headerlink" href="#id66" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19301">Issue #19301</a>: Give classes and functions that are explicitly marked global a
global qualname.</li>
<li><a class="reference external" href="https://bugs.python.org/19279">Issue #19279</a>: UTF-7 decoder no longer produces illegal strings.</li>
<li><a class="reference external" href="https://bugs.python.org/16612">Issue #16612</a>: Add &#8220;Argument Clinic&#8221;, a compile-time preprocessor for
C files to generate argument parsing code.  (See PEP 436.)</li>
<li><a class="reference external" href="https://bugs.python.org/18810">Issue #18810</a>: Shift stat calls in importlib.machinery.FileFinder such that
the code is optimistic that if something exists in a directory named exactly
like the possible package being searched for that it&#8217;s in actuality a
directory.</li>
<li><a class="reference external" href="https://bugs.python.org/18416">Issue #18416</a>: importlib.machinery.PathFinder now treats &#8216;&#8217; as the cwd and
importlib.machinery.FileFinder no longer special-cases &#8216;&#8217; to &#8216;.&#8217;. This leads
to modules imported from cwd to now possess an absolute file path for
__file__ (this does not affect modules specified by path on the CLI but it
does affect -m/runpy). It also allows FileFinder to be more consistent by not
having an edge case.</li>
<li><a class="reference external" href="https://bugs.python.org/4555">Issue #4555</a>: All exported C symbols are now prefixed with either
&#8220;Py&#8221; or &#8220;_Py&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/19219">Issue #19219</a>: Speed up marshal.loads(), and make pyc files slightly
(5% to 10%) smaller.</li>
<li><a class="reference external" href="https://bugs.python.org/19221">Issue #19221</a>: Upgrade Unicode database to version 6.3.0.</li>
<li><a class="reference external" href="https://bugs.python.org/16742">Issue #16742</a>: The result of the C callback PyOS_ReadlineFunctionPointer must
now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL
if an error occurred), instead of a string allocated by PyMem_Malloc() or
PyMem_Realloc().</li>
<li><a class="reference external" href="https://bugs.python.org/19199">Issue #19199</a>: Remove <tt class="docutils literal"><span class="pre">PyThreadState.tick_counter</span></tt> field</li>
<li>Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at
least one place so as to avoid regressions.</li>
<li><a class="reference external" href="https://bugs.python.org/19087">Issue #19087</a>: Improve bytearray allocation in order to allow cheap popping
of data at the front (slice deletion).</li>
<li><a class="reference external" href="https://bugs.python.org/19014">Issue #19014</a>: memoryview.cast() is now allowed on zero-length views.</li>
<li><a class="reference external" href="https://bugs.python.org/18690">Issue #18690</a>: memoryview is now automatically registered with
collections.abc.Sequence</li>
<li><a class="reference external" href="https://bugs.python.org/19078">Issue #19078</a>: memoryview now correctly supports the reversed builtin
(Patch by Claudiu Popa)</li>
</ul>
</div>
<div class="section" id="id67">
<h3>Library<a class="headerlink" href="#id67" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17457">Issue #17457</a>: unittest test discovery now works with namespace packages.
Patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/18235">Issue #18235</a>: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.</li>
<li><a class="reference external" href="https://bugs.python.org/18606">Issue #18606</a>: Add the new &#8220;statistics&#8221; module (PEP 450).  Contributed
by Steven D&#8217;Aprano.</li>
<li><a class="reference external" href="https://bugs.python.org/12866">Issue #12866</a>: The audioop module now supports 24-bit samples.</li>
<li><a class="reference external" href="https://bugs.python.org/19254">Issue #19254</a>: Provide an optimized Python implementation of pbkdf2_hmac.</li>
<li>Issues #19201, <a class="reference external" href="https://bugs.python.org/19222">Issue #19222</a>, <a class="reference external" href="https://bugs.python.org/19223">Issue #19223</a>: Add &#8220;x&#8221; mode (exclusive creation)
in opening file to bz2, gzip and lzma modules. Patches by Tim Heaney and
Vajrasky Kok.</li>
<li>Fix a reference count leak in _sre.</li>
<li><a class="reference external" href="https://bugs.python.org/19262">Issue #19262</a>: Initial check in of the &#8216;asyncio&#8217; package (a.k.a. Tulip,
a.k.a. PEP 3156).  There are no docs yet, and the PEP is slightly
out of date with the code.  This module will have <em>provisional</em> status
in Python 3.4.</li>
<li><a class="reference external" href="https://bugs.python.org/19276">Issue #19276</a>: Fixed the wave module on 64-bit big-endian platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/19266">Issue #19266</a>: Rename the new-in-3.4 <tt class="docutils literal"><span class="pre">contextlib.ignore</span></tt> context manager
to <tt class="docutils literal"><span class="pre">contextlib.suppress</span></tt> in order to be more consistent with existing
descriptions of that operation elsewhere in the language and standard
library documentation (Patch by Zero Piraeus).</li>
<li><a class="reference external" href="https://bugs.python.org/18891">Issue #18891</a>: Completed the new email package (provisional) API additions
by adding new classes EmailMessage, MIMEPart, and ContentManager.</li>
<li><a class="reference external" href="https://bugs.python.org/18281">Issue #18281</a>: Unused stat constants removed from <a class="reference internal" href="../library/tarfile.html#module-tarfile" title="tarfile: Read and write tar-format archive files."><tt class="xref py py-obj docutils literal"><span class="pre">tarfile</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/18999">Issue #18999</a>: Multiprocessing now supports &#8216;contexts&#8217; with the same API
as the module, but bound to specified start methods.</li>
<li><a class="reference external" href="https://bugs.python.org/18468">Issue #18468</a>: The re.split, re.findall, and re.sub functions and the group()
and groups() methods of match object now always return a string or a bytes
object.</li>
<li><a class="reference external" href="https://bugs.python.org/18725">Issue #18725</a>: The textwrap module now supports truncating multiline text.</li>
<li><a class="reference external" href="https://bugs.python.org/18776">Issue #18776</a>: atexit callbacks now display their full traceback when they
raise an exception.</li>
<li><a class="reference external" href="https://bugs.python.org/17827">Issue #17827</a>: Add the missing documentation for <tt class="docutils literal"><span class="pre">codecs.encode</span></tt> and
<tt class="docutils literal"><span class="pre">codecs.decode</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/19218">Issue #19218</a>: Rename collections.abc to _collections_abc in order to
speed up interpreter start.</li>
<li><a class="reference external" href="https://bugs.python.org/18582">Issue #18582</a>: Add &#8216;pbkdf2_hmac&#8217; to the hashlib module. It implements PKCS#5
password-based key derivation functions with HMAC as pseudorandom function.</li>
<li><a class="reference external" href="https://bugs.python.org/19131">Issue #19131</a>: The aifc module now correctly reads and writes sampwidth of
compressed streams.</li>
<li><a class="reference external" href="https://bugs.python.org/19209">Issue #19209</a>: Remove import of copyreg from the os module to speed up
interpreter startup. stat_result and statvfs_result are now hard-coded to
reside in the os module.</li>
<li><a class="reference external" href="https://bugs.python.org/19205">Issue #19205</a>: Don&#8217;t import the &#8216;re&#8217; module in site and sysconfig module to
speed up interpreter start.</li>
<li><a class="reference external" href="https://bugs.python.org/9548">Issue #9548</a>: Add a minimal &#8220;_bootlocale&#8221; module that is imported by the
_io module instead of the full locale module.</li>
<li><a class="reference external" href="https://bugs.python.org/18764">Issue #18764</a>: Remove the &#8216;print&#8217; alias for the PDB &#8216;p&#8217; command so that it no
longer shadows the print function.</li>
<li><a class="reference external" href="https://bugs.python.org/19158">Issue #19158</a>: A rare race in BoundedSemaphore could allow .release() too
often.</li>
<li><a class="reference external" href="https://bugs.python.org/15805">Issue #15805</a>: Add contextlib.redirect_stdout().</li>
<li><a class="reference external" href="https://bugs.python.org/18716">Issue #18716</a>: Deprecate the formatter module.</li>
<li><a class="reference external" href="https://bugs.python.org/10712">Issue #10712</a>: 2to3 has a new &#8220;asserts&#8221; fixer that replaces deprecated names
of unittest methods (e.g. failUnlessEqual -&gt; assertEqual).</li>
<li><a class="reference external" href="https://bugs.python.org/18037">Issue #18037</a>: 2to3 now escapes &#8216;u&#8217; and &#8216;U&#8217; in native strings.</li>
<li><a class="reference external" href="https://bugs.python.org/17839">Issue #17839</a>: base64.decodebytes and base64.encodebytes now accept any
object that exports a 1 dimensional array of bytes (this means the same
is now also true for base64_codec)</li>
<li><a class="reference external" href="https://bugs.python.org/19132">Issue #19132</a>: The pprint module now supports compact mode.</li>
<li><a class="reference external" href="https://bugs.python.org/19137">Issue #19137</a>: The pprint module now correctly formats instances of set and
frozenset subclasses.</li>
<li><a class="reference external" href="https://bugs.python.org/10042">Issue #10042</a>: functools.total_ordering now correctly handles
NotImplemented being returned by the underlying comparison function (Patch
by Katie Miller)</li>
<li><a class="reference external" href="https://bugs.python.org/19092">Issue #19092</a>: contextlib.ExitStack now correctly reraises exceptions
from the __exit__ callbacks of inner context managers (Patch by Hrvoje
Nikšić)</li>
<li><a class="reference external" href="https://bugs.python.org/12641">Issue #12641</a>: Avoid passing &#8220;-mno-cygwin&#8221; to the mingw32 compiler, except
when necessary.  Patch by Oscar Benjamin.</li>
<li><a class="reference external" href="https://bugs.python.org/5845">Issue #5845</a>: In site.py, only load readline history from ~/.python_history
if no history has been read already.  This avoids double writes to the
history file at shutdown.</li>
<li>Properly initialize all fields of a SSL object after allocation.</li>
<li><a class="reference external" href="https://bugs.python.org/19095">Issue #19095</a>: SSLSocket.getpeercert() now raises ValueError when the
SSL handshake hasn&#8217;t been done.</li>
<li><a class="reference external" href="https://bugs.python.org/4366">Issue #4366</a>: Fix building extensions on all platforms when &#8211;enable-shared
is used.</li>
<li><a class="reference external" href="https://bugs.python.org/19030">Issue #19030</a>: Fixed <a class="reference internal" href="../library/inspect.html#inspect.getmembers" title="inspect.getmembers"><tt class="xref py py-obj docutils literal"><span class="pre">inspect.getmembers</span></tt></a> and <tt class="xref py py-obj docutils literal"><span class="pre">inspect.classify_class_attrs</span></tt>
to attempt activating descriptors before falling back to a __dict__ search
for faulty descriptors.  <tt class="xref py py-obj docutils literal"><span class="pre">inspect.classify_class_attrs</span></tt> no longer returns
Attributes whose home class is None.</li>
</ul>
</div>
<div class="section" id="id68">
<h3>C API<a class="headerlink" href="#id68" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/1772673">Issue #1772673</a>: The type of <tt class="xref py py-obj docutils literal"><span class="pre">char*</span></tt> arguments now changed to <tt class="xref py py-obj docutils literal"><span class="pre">const</span> <span class="pre">char*</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/16129">Issue #16129</a>: Added a <tt class="xref py py-obj docutils literal"><span class="pre">Py_SetStandardStreamEncoding</span></tt> pre-initialization API
to allow embedding applications like Blender to force a particular
encoding and error handler for the standard IO streams (initial patch by
Bastien Montagne)</li>
</ul>
</div>
<div class="section" id="id69">
<h3>Tests<a class="headerlink" href="#id69" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/19275">Issue #19275</a>: Fix test_site on AMD64 Snow Leopard</li>
<li><a class="reference external" href="https://bugs.python.org/14407">Issue #14407</a>: Fix unittest test discovery in test_concurrent_futures.</li>
<li><a class="reference external" href="https://bugs.python.org/18919">Issue #18919</a>: Unified and extended tests for audio modules: aifc, sunau and
wave.</li>
<li><a class="reference external" href="https://bugs.python.org/18714">Issue #18714</a>: Added tests for <tt class="docutils literal"><span class="pre">pdb.find_function()</span></tt>.</li>
</ul>
</div>
<div class="section" id="id70">
<h3>Documentation<a class="headerlink" href="#id70" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18758">Issue #18758</a>: Fixed and improved cross-references.</li>
<li><a class="reference external" href="https://bugs.python.org/18972">Issue #18972</a>: Modernize email examples and use the argparse module in them.</li>
</ul>
</div>
<div class="section" id="id71">
<h3>Build<a class="headerlink" href="#id71" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/19130">Issue #19130</a>: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/15663">Issue #15663</a>: Update OS X 10.6+ installer to use Tcl/Tk 8.5.15.</p>
</li>
<li><dl class="first docutils">
<dt><a class="reference external" href="https://bugs.python.org/14499">Issue #14499</a>: Fix several problems with OS X universal build support:</dt>
<dd><ol class="first last arabic simple">
<li>ppc arch detection for extension module builds broke with Xcode 5</li>
<li>ppc arch detection in configure did not work on OS X 10.4</li>
<li>-sysroot and -arch flags were unnecessarily duplicated</li>
<li>there was no obvious way to configure an intel-32 only build.</li>
</ol>
</dd>
</dl>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/19019">Issue #19019</a>: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.</p>
</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-alpha-3">
<h2>Python 3.4.0 Alpha 3<a class="headerlink" href="#python-3-4-0-alpha-3" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2013-09-29</p>
<div class="section" id="id72">
<h3>Core and Builtins<a class="headerlink" href="#id72" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18818">Issue #18818</a>: The &#8220;encodingname&#8221; part of PYTHONIOENCODING is now optional.</li>
<li><a class="reference external" href="https://bugs.python.org/19098">Issue #19098</a>: Prevent overflow in the compiler when the recursion limit is set
absurdly high.</li>
</ul>
</div>
<div class="section" id="id73">
<h3>Library<a class="headerlink" href="#id73" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18929">Issue #18929</a>: <tt class="xref py py-obj docutils literal"><span class="pre">inspect.classify_class_attrs()</span></tt> now correctly finds class
attributes returned by <a class="reference internal" href="../library/functions.html#dir" title="dir"><tt class="xref py py-obj docutils literal"><span class="pre">dir()</span></tt></a> that are located in the metaclass.</li>
<li><a class="reference external" href="https://bugs.python.org/18950">Issue #18950</a>: Fix miscellaneous bugs in the sunau module.
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.</li>
<li><a class="reference external" href="https://bugs.python.org/18594">Issue #18594</a>: The fast path for collections.Counter() was never taken
due to an over-restrictive type check.</li>
<li><a class="reference external" href="https://bugs.python.org/19053">Issue #19053</a>: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.</li>
<li>logging: added support for Unix domain sockets to SocketHandler and
DatagramHandler.</li>
<li><a class="reference external" href="https://bugs.python.org/18996">Issue #18996</a>: TestCase.assertEqual() now more cleverly shorten differing
strings in error report.</li>
<li><a class="reference external" href="https://bugs.python.org/19034">Issue #19034</a>: repr() for tkinter.Tcl_Obj now exposes string reperesentation.</li>
<li><a class="reference external" href="https://bugs.python.org/18978">Issue #18978</a>: <tt class="docutils literal"><span class="pre">urllib.request.Request</span></tt> now allows the method to be
indicated on the class and no longer sets it to None in <tt class="docutils literal"><span class="pre">__init__</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/18626">Issue #18626</a>: the inspect module now offers a basic command line
introspection interface (Initial patch by Claudiu Popa)</li>
<li><a class="reference external" href="https://bugs.python.org/3015">Issue #3015</a>: Fixed tkinter with wantobject=False.  Any Tcl command call
returned empty string.</li>
<li><a class="reference external" href="https://bugs.python.org/19037">Issue #19037</a>: The mailbox module now makes all changes to maildir files
before moving them into place, to avoid race conditions with other programs
that may be accessing the maildir directory.</li>
<li><a class="reference external" href="https://bugs.python.org/14984">Issue #14984</a>: On POSIX systems, when netrc is called without a filename
argument (and therefore is reading the user&#8217;s $HOME/.netrc file), it now
enforces the same security rules as typical ftp clients: the .netrc file must
be owned by the user that owns the process and must not be readable by any
other user.</li>
<li><a class="reference external" href="https://bugs.python.org/18873">Issue #18873</a>: The tokenize module now detects Python source code encoding
only in comment lines.</li>
<li><a class="reference external" href="https://bugs.python.org/17764">Issue #17764</a>: Enable http.server to bind to a user specified network
interface.  Patch contributed by Malte Swart.</li>
<li><a class="reference external" href="https://bugs.python.org/18937">Issue #18937</a>: Add an assertLogs() context manager to unittest.TestCase
to ensure that a block of code emits a message using the logging module.</li>
<li><a class="reference external" href="https://bugs.python.org/17324">Issue #17324</a>: Fix http.server&#8217;s request handling case on trailing &#8216;/&#8217;. Patch
contributed by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/19018">Issue #19018</a>: The heapq.merge() function no longer suppresses IndexError
in the underlying iterables.</li>
<li><a class="reference external" href="https://bugs.python.org/18784">Issue #18784</a>: The uuid module no longer attempts to load libc via ctypes.CDLL
if all the necessary functions have already been found in libuuid.  Patch by
Evgeny Sologubov.</li>
<li>The <span class="target" id="index-0"></span><a class="reference internal" href="../using/cmdline.html#envvar-PYTHONFAULTHANDLER"><tt class="xref std std-envvar docutils literal"><span class="pre">PYTHONFAULTHANDLER</span></tt></a> environment variable now only enables the
faulthandler module if the variable is non-empty. Same behaviour than other
variables like <span class="target" id="index-1"></span><a class="reference internal" href="../using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE"><tt class="xref std std-envvar docutils literal"><span class="pre">PYTHONDONTWRITEBYTECODE</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/1565525">Issue #1565525</a>: New function <tt class="docutils literal"><span class="pre">traceback.clear_frames</span></tt> will clear
the local variables of all the stack frames referenced by a traceback
object.</li>
</ul>
</div>
<div class="section" id="id74">
<h3>Tests<a class="headerlink" href="#id74" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18952">Issue #18952</a>: Fix regression in support data downloads introduced when
test.support was converted to a package. Regression noticed by Zachary
Ware.</li>
</ul>
</div>
<div class="section" id="id75">
<h3>IDLE<a class="headerlink" href="#id75" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18873">Issue #18873</a>: IDLE now detects Python source code encoding only in comment
lines.</li>
<li><a class="reference external" href="https://bugs.python.org/18988">Issue #18988</a>: The &#8220;Tab&#8221; key now works when a word is already autocompleted.</li>
</ul>
</div>
<div class="section" id="id76">
<h3>Documentation<a class="headerlink" href="#id76" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17003">Issue #17003</a>: Unified the size argument names in the io module with common
practice.</li>
</ul>
</div>
<div class="section" id="id77">
<h3>Build<a class="headerlink" href="#id77" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18596">Issue #18596</a>: Support the use of address sanity checking in recent versions
of clang and GCC by appropriately marking known false alarms in the small
object allocator. Patch contributed by Dhiru Kholia.</li>
</ul>
</div>
<div class="section" id="id78">
<h3>Tools/Demos<a class="headerlink" href="#id78" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18873">Issue #18873</a>: 2to3 and the findnocoding.py script now detect Python source
code encoding only in comment lines.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-alpha-2">
<h2>Python 3.4.0 Alpha 2<a class="headerlink" href="#python-3-4-0-alpha-2" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2013-09-09</p>
<div class="section" id="id79">
<h3>Core and Builtins<a class="headerlink" href="#id79" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18942">Issue #18942</a>: sys._debugmallocstats() output was damaged on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/18571">Issue #18571</a>: Implementation of the PEP 446: file descriptors and file
handles are now created non-inheritable; add functions
os.get/set_inheritable(), os.get/set_handle_inheritable() and
socket.socket.get/set_inheritable().</li>
<li><a class="reference external" href="https://bugs.python.org/11619">Issue #11619</a>: The parser and the import machinery do not encode Unicode
filenames anymore on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/18808">Issue #18808</a>: Non-daemon threads are now automatically joined when
a sub-interpreter is shutdown (it would previously dump a fatal error).</li>
<li>Remove support for compiling on systems without getcwd().</li>
<li><a class="reference external" href="https://bugs.python.org/18774">Issue #18774</a>: Remove last bits of GNU PTH thread code and thread_pth.h.</li>
<li><a class="reference external" href="https://bugs.python.org/18771">Issue #18771</a>: Add optimization to set object lookups to reduce the cost
of hash collisions.  The core idea is to inspect a second key/hash pair
for each cache line retrieved.</li>
<li><a class="reference external" href="https://bugs.python.org/16105">Issue #16105</a>: When a signal handler fails to write to the file descriptor
registered with <tt class="docutils literal"><span class="pre">signal.set_wakeup_fd()</span></tt>, report an exception instead
of ignoring the error.</li>
<li><a class="reference external" href="https://bugs.python.org/18722">Issue #18722</a>: Remove uses of the &#8220;register&#8221; keyword in C code.</li>
<li><a class="reference external" href="https://bugs.python.org/18667">Issue #18667</a>: Add missing &#8220;HAVE_FCHOWNAT&#8221; symbol to posix._have_functions.</li>
<li><a class="reference external" href="https://bugs.python.org/16499">Issue #16499</a>: Add command line option for isolated mode.</li>
<li><a class="reference external" href="https://bugs.python.org/15301">Issue #15301</a>: Parsing fd, uid, and gid parameters for builtins
in Modules/posixmodule.c is now far more robust.</li>
<li><a class="reference external" href="https://bugs.python.org/18368">Issue #18368</a>: PyOS_StdioReadline() no longer leaks memory when realloc()
fail.</li>
<li><a class="reference external" href="https://bugs.python.org/17934">Issue #17934</a>: Add a clear() method to frame objects, to help clean up
expensive details (local variables) and break reference cycles.</li>
<li><a class="reference external" href="https://bugs.python.org/18780">Issue #18780</a>: %-formatting codes %d, %i, and %u now treat int-subclasses
as int (displays value of int-subclass instead of str(int-subclass) ).</li>
</ul>
</div>
<div class="section" id="id80">
<h3>Library<a class="headerlink" href="#id80" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18808">Issue #18808</a>: Thread.join() now waits for the underlying thread state to
be destroyed before returning.  This prevents unpredictable aborts in
Py_EndInterpreter() when some non-daemon threads are still running.</li>
<li><a class="reference external" href="https://bugs.python.org/18458">Issue #18458</a>: Prevent crashes with newer versions of libedit.  Its readline
emulation has changed from 0-based indexing to 1-based like gnu readline.</li>
<li><a class="reference external" href="https://bugs.python.org/18852">Issue #18852</a>: Handle case of <tt class="docutils literal"><span class="pre">readline.__doc__</span></tt> being <tt class="docutils literal"><span class="pre">None</span></tt> in the new
readline activation code in <tt class="docutils literal"><span class="pre">site.py</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/18672">Issue #18672</a>: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre module.</li>
<li><a class="reference external" href="https://bugs.python.org/18830">Issue #18830</a>: inspect.getclasstree() no longer produces duplicate entries even
when input list contains duplicates.</li>
<li><a class="reference external" href="https://bugs.python.org/18878">Issue #18878</a>: sunau.open now supports the context management protocol.  Based on
patches by Claudiu Popa and R. David Murray.</li>
<li><a class="reference external" href="https://bugs.python.org/18909">Issue #18909</a>: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don&#8217;t cast
64-bit pointer to long (32 bits).</li>
<li><a class="reference external" href="https://bugs.python.org/18876">Issue #18876</a>: The FileIO.mode attribute now better reflects the actual mode
under which the file was opened.  Patch by Erik Bray.</li>
<li><a class="reference external" href="https://bugs.python.org/16853">Issue #16853</a>: Add new selectors module.</li>
<li><a class="reference external" href="https://bugs.python.org/18882">Issue #18882</a>: Add threading.main_thread() function.</li>
<li><a class="reference external" href="https://bugs.python.org/18901">Issue #18901</a>: The sunau getparams method now returns a namedtuple rather than
a plain tuple.  Patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/17487">Issue #17487</a>: The result of the wave getparams method now is pickleable again.
Patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/18756">Issue #18756</a>: os.urandom() now uses a lazily-opened persistent file
descriptor, so as to avoid using many file descriptors when run in
parallel from multiple threads.</li>
<li><a class="reference external" href="https://bugs.python.org/18418">Issue #18418</a>: After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.</li>
<li><a class="reference external" href="https://bugs.python.org/17974">Issue #17974</a>: Switch unittest from using getopt to using argparse.</li>
<li><a class="reference external" href="https://bugs.python.org/11798">Issue #11798</a>: TestSuite now drops references to own tests after execution.</li>
<li><a class="reference external" href="https://bugs.python.org/16611">Issue #16611</a>: http.cookie now correctly parses the &#8216;secure&#8217; and &#8216;httponly&#8217;
cookie flags.</li>
<li><a class="reference external" href="https://bugs.python.org/11973">Issue #11973</a>: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.</li>
<li><a class="reference external" href="https://bugs.python.org/18807">Issue #18807</a>: <tt class="docutils literal"><span class="pre">pyvenv</span></tt> now takes a &#8211;copies argument allowing copies
instead of symlinks even where symlinks are available and the default.</li>
<li><a class="reference external" href="https://bugs.python.org/18538">Issue #18538</a>: <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">dis</span></tt> now uses argparse for argument processing.
Patch by Michele Orrù.</li>
<li><a class="reference external" href="https://bugs.python.org/18394">Issue #18394</a>: Close cgi.FieldStorage&#8217;s optional file.</li>
<li><a class="reference external" href="https://bugs.python.org/17702">Issue #17702</a>: On error, os.environb now suppresses the exception context
when raising a new KeyError with the original key.</li>
<li><a class="reference external" href="https://bugs.python.org/16809">Issue #16809</a>: Fixed some tkinter incompabilities with Tcl/Tk 8.6.</li>
<li><a class="reference external" href="https://bugs.python.org/16809">Issue #16809</a>: Tkinter&#8217;s splitlist() and split() methods now accept Tcl_Obj
argument.</li>
<li><a class="reference external" href="https://bugs.python.org/18324">Issue #18324</a>: set_payload now correctly handles binary input.  This also
supersedes the previous fixes for #14360, #1717, and #16564.</li>
<li><a class="reference external" href="https://bugs.python.org/18794">Issue #18794</a>: Add a fileno() method and a closed attribute to select.devpoll
objects.</li>
<li><a class="reference external" href="https://bugs.python.org/17119">Issue #17119</a>: Fixed integer overflows when processing large strings and tuples
in the tkinter module.</li>
<li><a class="reference external" href="https://bugs.python.org/18747">Issue #18747</a>: Re-seed OpenSSL&#8217;s pseudo-random number generator after fork.
A pthread_atfork() parent handler is used to seed the PRNG with pid, time
and some stack data.</li>
<li><a class="reference external" href="https://bugs.python.org/8865">Issue #8865</a>: Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception.  Patch by Christian Schubert.</li>
<li><a class="reference external" href="https://bugs.python.org/18777">Issue #18777</a>: The ssl module now uses the new CRYPTO_THREADID API of
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.</li>
<li><a class="reference external" href="https://bugs.python.org/18768">Issue #18768</a>: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/18178">Issue #18178</a>: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke
malloc weak symbols.</li>
<li><a class="reference external" href="https://bugs.python.org/18709">Issue #18709</a>: Fix CVE-2013-4238. The SSL module now handles NULL bytes
inside subjectAltName correctly. Formerly the module has used OpenSSL&#8217;s
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for <tt class="docutils literal"><span class="pre">rfc822Name</span></tt> (email), <tt class="docutils literal"><span class="pre">dNSName</span></tt> (DNS) and
<tt class="docutils literal"><span class="pre">uniformResourceIdentifier</span></tt> (URI).</li>
<li><a class="reference external" href="https://bugs.python.org/18701">Issue #18701</a>: Remove support of old CPython versions (&lt;3.0) from C code.</li>
<li><a class="reference external" href="https://bugs.python.org/18756">Issue #18756</a>: Improve error reporting in os.urandom() when the failure
is due to something else than /dev/urandom not existing (for example,
exhausting the file descriptor limit).</li>
<li><a class="reference external" href="https://bugs.python.org/18673">Issue #18673</a>: Add O_TMPFILE to os module. O_TMPFILE requires Linux kernel
3.11 or newer. It&#8217;s only defined on system with 3.11 uapi headers, too.</li>
<li><a class="reference external" href="https://bugs.python.org/18532">Issue #18532</a>: Change the builtin hash algorithms&#8217; names to lower case names
as promised by hashlib&#8217;s documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/8713">Issue #8713</a>: add new spwan and forkserver start methods, and new functions
get_all_start_methods, get_start_method, and set_start_method, to
multiprocessing.</li>
<li><a class="reference external" href="https://bugs.python.org/18405">Issue #18405</a>: Improve the entropy of crypt.mksalt().</li>
<li><a class="reference external" href="https://bugs.python.org/12015">Issue #12015</a>: The tempfile module now uses a suffix of 8 random characters
instead of 6, to reduce the risk of filename collision. The entropy was
reduced when uppercase letters were removed from the charset used to generate
random characters.</li>
<li><a class="reference external" href="https://bugs.python.org/18585">Issue #18585</a>: Add <a class="reference internal" href="../library/textwrap.html#textwrap.shorten" title="textwrap.shorten"><tt class="xref py py-func docutils literal"><span class="pre">textwrap.shorten()</span></tt></a> to collapse and truncate a
piece of text to a given length.</li>
<li><a class="reference external" href="https://bugs.python.org/18598">Issue #18598</a>: Tweak exception message for importlib.import_module() to
include the module name when a key argument is missing.</li>
<li><a class="reference external" href="https://bugs.python.org/19151">Issue #19151</a>: Fix docstring and use of _get_supported_file_loaders() to
reflect 2-tuples.</li>
<li><a class="reference external" href="https://bugs.python.org/19152">Issue #19152</a>: Add ExtensionFileLoader.get_filename().</li>
<li><a class="reference external" href="https://bugs.python.org/18676">Issue #18676</a>: Change &#8216;positive&#8217; to &#8216;non-negative&#8217; in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo</li>
<li>Fix refcounting issue with extension types in tkinter.</li>
<li><a class="reference external" href="https://bugs.python.org/8112">Issue #8112</a>: xlmrpc.server&#8217;s DocXMLRPCServer server no longer raises an error
if methods have annotations; it now correctly displays the annotations.</li>
<li><a class="reference external" href="https://bugs.python.org/18600">Issue #18600</a>: Added policy argument to email.message.Message.as_string,
and as_bytes and __bytes__ methods to Message.</li>
<li><a class="reference external" href="https://bugs.python.org/18671">Issue #18671</a>: Output more information when logging exceptions occur.</li>
<li><a class="reference external" href="https://bugs.python.org/18621">Issue #18621</a>: Prevent the site module&#8217;s patched builtins from keeping
too many references alive for too long.</li>
<li><a class="reference external" href="https://bugs.python.org/4885">Issue #4885</a>: Add weakref support to mmap objects.  Patch by Valerie Lambert.</li>
<li><a class="reference external" href="https://bugs.python.org/8860">Issue #8860</a>: Fixed rounding in timedelta constructor.</li>
<li><a class="reference external" href="https://bugs.python.org/18849">Issue #18849</a>: Fixed a Windows-specific tempfile bug where collision with an
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.</li>
<li><a class="reference external" href="https://bugs.python.org/18920">Issue #18920</a>: argparse&#8217;s default destination for the version action (-v,
&#8211;version) has also been changed to stdout, to match the Python executable.</li>
</ul>
</div>
<div class="section" id="id81">
<h3>Tests<a class="headerlink" href="#id81" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18623">Issue #18623</a>: Factor out the _SuppressCoreFiles context manager into
test.support.  Patch by Valerie Lambert.</li>
<li><a class="reference external" href="https://bugs.python.org/12037">Issue #12037</a>: Fix test_email for desktop Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/15507">Issue #15507</a>: test_subprocess&#8217;s test_send_signal could fail if the test
runner were run in an environment where the process inherited an ignore
setting for SIGINT.  Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.</li>
<li><a class="reference external" href="https://bugs.python.org/16799">Issue #16799</a>: Switched from getopt to argparse style in regrtest&#8217;s argument
parsing.  Added more tests for regrtest&#8217;s argument parsing.</li>
<li><a class="reference external" href="https://bugs.python.org/18792">Issue #18792</a>: Use &#8220;127.0.0.1&#8221; or &#8221;::1&#8221; instead of &#8220;localhost&#8221; as much as
possible, since &#8220;localhost&#8221; goes through a DNS lookup under recent Windows
versions.</li>
</ul>
</div>
<div class="section" id="id82">
<h3>IDLE<a class="headerlink" href="#id82" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18489">Issue #18489</a>: Add tests for SearchEngine. Original patch by Phil Webster.</li>
</ul>
</div>
<div class="section" id="id83">
<h3>Documentation<a class="headerlink" href="#id83" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18743">Issue #18743</a>: Fix references to non-existant &#8220;StringIO&#8221; module.</li>
<li><a class="reference external" href="https://bugs.python.org/18783">Issue #18783</a>: Removed existing mentions of Python long type in docstrings,
error messages and comments.</li>
</ul>
</div>
<div class="section" id="id84">
<h3>Build<a class="headerlink" href="#id84" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/1584">Issue #1584</a>: Provide configure options to override default search paths for
Tcl and Tk when building _tkinter.</li>
<li><a class="reference external" href="https://bugs.python.org/15663">Issue #15663</a>: Tcl/Tk 8.5.14 is now included with the OS X 10.6+ 64-/32-bit
installer.  It is no longer necessary to install a third-party version of
Tcl/Tk 8.5 to work around the problems in the Apple-supplied Tcl/Tk 8.5
shipped in OS X 10.6 and later releases.</li>
</ul>
</div>
<div class="section" id="id85">
<h3>Tools/Demos<a class="headerlink" href="#id85" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18922">Issue #18922</a>: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
their version strings to stdout, and not to sderr.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-4-0-alpha-1">
<h2>Python 3.4.0 Alpha 1<a class="headerlink" href="#python-3-4-0-alpha-1" title="Permalink to this headline">¶</a></h2>
<p>Release date: 2013-08-03</p>
<div class="section" id="id86">
<h3>Core and Builtins<a class="headerlink" href="#id86" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/16741">Issue #16741</a>: Fix an error reporting in int().</li>
<li><a class="reference external" href="https://bugs.python.org/17899">Issue #17899</a>: Fix rare file descriptor leak in os.listdir().</li>
<li><a class="reference external" href="https://bugs.python.org/10241">Issue #10241</a>: Clear extension module dict copies at interpreter shutdown.
Patch by Neil Schemenauer, minimally modified.</li>
<li><a class="reference external" href="https://bugs.python.org/9035">Issue #9035</a>: ismount now recognises volumes mounted below a drive root
on Windows. Original patch by Atsuo Ishimoto.</li>
<li><a class="reference external" href="https://bugs.python.org/18214">Issue #18214</a>: Improve finalization of Python modules to avoid setting
their globals to None, in most cases.</li>
<li><a class="reference external" href="https://bugs.python.org/18112">Issue #18112</a>: PEP 442 implementation (safe object finalization).</li>
<li><a class="reference external" href="https://bugs.python.org/18552">Issue #18552</a>: Check return value of PyArena_AddPyObject() in
obj2ast_object().</li>
<li><a class="reference external" href="https://bugs.python.org/18560">Issue #18560</a>: Fix potential NULL pointer dereference in sum().</li>
<li><a class="reference external" href="https://bugs.python.org/18520">Issue #18520</a>: Add a new PyStructSequence_InitType2() function, same than
PyStructSequence_InitType() except that it has a return value (0 on success,
-1 on error).</li>
<li><a class="reference external" href="https://bugs.python.org/15905">Issue #15905</a>: Fix theoretical buffer overflow in handling of sys.argv[0],
prefix and exec_prefix if the operation system does not obey MAXPATHLEN.</li>
<li><a class="reference external" href="https://bugs.python.org/18408">Issue #18408</a>: Fix many various bugs in code handling errors, especially
on memory allocation failure (MemoryError).</li>
<li><a class="reference external" href="https://bugs.python.org/18344">Issue #18344</a>: Fix potential ref-leaks in _bufferedreader_read_all().</li>
<li><a class="reference external" href="https://bugs.python.org/18342">Issue #18342</a>: Use the repr of a module name when an import fails when using
<tt class="docutils literal"><span class="pre">from</span> <span class="pre">...</span> <span class="pre">import</span> <span class="pre">...</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/17872">Issue #17872</a>: Fix a segfault in marshal.load() when input stream returns
more bytes than requested.</li>
<li><a class="reference external" href="https://bugs.python.org/18338">Issue #18338</a>: <tt class="xref py py-obj docutils literal"><span class="pre">python</span> <span class="pre">--version</span></tt> now prints version string to stdout, and
not to stderr.  Patch by Berker Peksag and Michael Dickens.</li>
<li><a class="reference external" href="https://bugs.python.org/18426">Issue #18426</a>: Fix NULL pointer dereference in C extension import when
PyModule_GetDef() returns an error.</li>
<li><a class="reference external" href="https://bugs.python.org/17206">Issue #17206</a>: On Windows, increase the stack size from 2 MB to 4.2 MB to fix
a stack overflow in the marshal module (fix a crash in test_marshal).
Patch written by Jeremy Kloth.</li>
<li><a class="reference external" href="https://bugs.python.org/3329">Issue #3329</a>: Implement the PEP 445: Add new APIs to customize Python memory
allocators.</li>
<li><a class="reference external" href="https://bugs.python.org/18328">Issue #18328</a>: Reorder ops in PyThreadState_Delete*() functions. Now the
tstate is first removed from TLS and then deallocated.</li>
<li><a class="reference external" href="https://bugs.python.org/13483">Issue #13483</a>: Use VirtualAlloc in obmalloc on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/18184">Issue #18184</a>: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.</li>
<li><a class="reference external" href="https://bugs.python.org/18111">Issue #18111</a>: The min() and max() functions now support a default argument
to be returned instead of raising a ValueError on an empty sequence.
(Contributed by Julian Berman.)</li>
<li><a class="reference external" href="https://bugs.python.org/18137">Issue #18137</a>: Detect integer overflow on precision in float.__format__()
and complex.__format__().</li>
<li><a class="reference external" href="https://bugs.python.org/18183">Issue #18183</a>: Fix various unicode operations on strings with large unicode
codepoints.</li>
<li><a class="reference external" href="https://bugs.python.org/18180">Issue #18180</a>: Fix ref leak in _PyImport_GetDynLoadWindows().</li>
<li><a class="reference external" href="https://bugs.python.org/18038">Issue #18038</a>: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.</li>
<li><a class="reference external" href="https://bugs.python.org/17931">Issue #17931</a>: Resolve confusion on Windows between pids and process
handles.</li>
<li>Tweak the exception message when the magic number or size value in a bytecode
file is truncated.</li>
<li><a class="reference external" href="https://bugs.python.org/17932">Issue #17932</a>: Fix an integer overflow issue on Windows 64-bit in iterators:
change the C type of seqiterobject.it_index from long to Py_ssize_t.</li>
<li><a class="reference external" href="https://bugs.python.org/18065">Issue #18065</a>: Don&#8217;t set __path__ to the package name for frozen packages.</li>
<li><a class="reference external" href="https://bugs.python.org/18088">Issue #18088</a>: When reloading a module, unconditionally reset all relevant
attributes on the module (e.g. __name__, __loader__, __package__, __file__,
__cached__).</li>
<li><a class="reference external" href="https://bugs.python.org/17937">Issue #17937</a>: Try harder to collect cyclic garbage at shutdown.</li>
<li><a class="reference external" href="https://bugs.python.org/12370">Issue #12370</a>: Prevent class bodies from interfering with the __class__
closure.</li>
<li><a class="reference external" href="https://bugs.python.org/17644">Issue #17644</a>: Fix a crash in str.format when curly braces are used in square
brackets.</li>
<li><a class="reference external" href="https://bugs.python.org/17237">Issue #17237</a>: Fix crash in the ASCII decoder on m68k.</li>
<li><a class="reference external" href="https://bugs.python.org/17927">Issue #17927</a>: Frame objects kept arguments alive if they had been
copied into a cell, even if the cell was cleared.</li>
<li><a class="reference external" href="https://bugs.python.org/1545463">Issue #1545463</a>: At shutdown, defer finalization of codec modules so
that stderr remains usable.</li>
<li><a class="reference external" href="https://bugs.python.org/7330">Issue #7330</a>: Implement width and precision (ex: &#8220;%5.3s&#8221;) for the format
string of PyUnicode_FromFormat() function, original patch written by Ysj Ray.</li>
<li><a class="reference external" href="https://bugs.python.org/1545463">Issue #1545463</a>: Global variables caught in reference cycles are now
garbage-collected at shutdown.</li>
<li><a class="reference external" href="https://bugs.python.org/17094">Issue #17094</a>: Clear stale thread states after fork().  Note that this
is a potentially disruptive change since it may release some system
resources which would otherwise remain perpetually alive (e.g. database
connections kept in thread-local storage).</li>
<li><a class="reference external" href="https://bugs.python.org/17408">Issue #17408</a>: Avoid using an obsolete instance of the copyreg module when
the interpreter is shutdown and then started again.</li>
<li><a class="reference external" href="https://bugs.python.org/5845">Issue #5845</a>: Enable tab-completion in the interactive interpreter by
default, thanks to a new sys.__interactivehook__.</li>
<li><a class="reference external" href="https://bugs.python.org/17115">Issue #17115</a>,17116: Module initialization now includes setting __package__ and
__loader__ attributes to None.</li>
<li><a class="reference external" href="https://bugs.python.org/17853">Issue #17853</a>: Ensure locals of a class that shadow free variables always win
over the closures.</li>
<li><a class="reference external" href="https://bugs.python.org/17863">Issue #17863</a>: In the interactive console, don&#8217;t loop forever if the encoding
can&#8217;t be fetched from stdin.</li>
<li><a class="reference external" href="https://bugs.python.org/17867">Issue #17867</a>: Raise an ImportError if __import__ is not found in __builtins__.</li>
<li><a class="reference external" href="https://bugs.python.org/18698">Issue #18698</a>: Ensure importlib.reload() returns the module out of sys.modules.</li>
<li><a class="reference external" href="https://bugs.python.org/17857">Issue #17857</a>: Prevent build failures with pre-3.5.0 versions of sqlite3,
such as was shipped with Centos 5 and Mac OS X 10.4.</li>
<li><a class="reference external" href="https://bugs.python.org/17413">Issue #17413</a>: sys.settrace callbacks were being passed a string instead of an
exception instance for the &#8216;value&#8217; element of the arg tuple if the exception
originated from C code; now an exception instance is always provided.</li>
<li><a class="reference external" href="https://bugs.python.org/17782">Issue #17782</a>: Fix undefined behaviour on platforms where
<tt class="docutils literal"><span class="pre">struct</span> <span class="pre">timespec</span></tt>&#8216;s &#8220;tv_nsec&#8221; member is not a C long.</li>
<li><a class="reference external" href="https://bugs.python.org/17722">Issue #17722</a>: When looking up __round__, resolve descriptors.</li>
<li><a class="reference external" href="https://bugs.python.org/16061">Issue #16061</a>: Speed up str.replace() for replacing 1-character strings.</li>
<li><a class="reference external" href="https://bugs.python.org/17715">Issue #17715</a>: Fix segmentation fault from raising an exception in a __trunc__
method.</li>
<li><a class="reference external" href="https://bugs.python.org/17643">Issue #17643</a>: Add __callback__ attribute to weakref.ref.</li>
<li><a class="reference external" href="https://bugs.python.org/16447">Issue #16447</a>: Fixed potential segmentation fault when setting __name__ on a
class.</li>
<li><a class="reference external" href="https://bugs.python.org/17669">Issue #17669</a>: Fix crash involving finalization of generators using yield from.</li>
<li><a class="reference external" href="https://bugs.python.org/14439">Issue #14439</a>: Python now prints the traceback on runpy failure at startup.</li>
<li><a class="reference external" href="https://bugs.python.org/17469">Issue #17469</a>: Fix _Py_GetAllocatedBlocks() and sys.getallocatedblocks()
when running on valgrind.</li>
<li><a class="reference external" href="https://bugs.python.org/17619">Issue #17619</a>: Make input() check for Ctrl-C correctly on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/17357">Issue #17357</a>: Add missing verbosity messages for -v/-vv that were lost during
the importlib transition.</li>
<li><a class="reference external" href="https://bugs.python.org/17610">Issue #17610</a>: Don&#8217;t rely on non-standard behavior of the C qsort() function.</li>
<li><a class="reference external" href="https://bugs.python.org/17323">Issue #17323</a>: The &#8220;[X refs, Y blocks]&#8221; printed by debug builds has been
disabled by default.  It can be re-enabled with the <tt class="xref py py-obj docutils literal"><span class="pre">-X</span> <span class="pre">showrefcount</span></tt> option.</li>
<li><a class="reference external" href="https://bugs.python.org/17328">Issue #17328</a>: Fix possible refleak in dict.setdefault.</li>
<li><a class="reference external" href="https://bugs.python.org/17275">Issue #17275</a>: Corrected class name in init error messages of the C version of
BufferedWriter and BufferedRandom.</li>
<li><a class="reference external" href="https://bugs.python.org/7963">Issue #7963</a>: Fixed misleading error message that issued when object is
called without arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/8745">Issue #8745</a>: Small speed up zipimport on Windows. Patch by Catalin Iacob.</li>
<li><a class="reference external" href="https://bugs.python.org/5308">Issue #5308</a>: Raise ValueError when marshalling too large object (a sequence
with size &gt;= 2**31), instead of producing illegal marshal data.</li>
<li><a class="reference external" href="https://bugs.python.org/12983">Issue #12983</a>: Bytes literals with invalid x escape now raise a SyntaxError
and a full traceback including line number.</li>
<li><a class="reference external" href="https://bugs.python.org/16967">Issue #16967</a>: In function definition, evaluate positional defaults before
keyword-only defaults.</li>
<li><a class="reference external" href="https://bugs.python.org/17173">Issue #17173</a>: Remove uses of locale-dependent C functions (isalpha() etc.)
in the interpreter.</li>
<li><a class="reference external" href="https://bugs.python.org/17137">Issue #17137</a>: When an Unicode string is resized, the internal wide character
string (wstr) format is now cleared.</li>
<li><a class="reference external" href="https://bugs.python.org/17043">Issue #17043</a>: The unicode-internal decoder no longer read past the end of
input buffer.</li>
<li><a class="reference external" href="https://bugs.python.org/17098">Issue #17098</a>: All modules now have __loader__ set even if they pre-exist the
bootstrapping of importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/16979">Issue #16979</a>: Fix error handling bugs in the unicode-escape-decode decoder.</li>
<li><a class="reference external" href="https://bugs.python.org/16772">Issue #16772</a>: The base argument to the int constructor no longer accepts
floats, or other non-integer objects with an __int__ method.  Objects
with an __index__ method are now accepted.</li>
<li><a class="reference external" href="https://bugs.python.org/10156">Issue #10156</a>: In the interpreter&#8217;s initialization phase, unicode globals
are now initialized dynamically as needed.</li>
<li><a class="reference external" href="https://bugs.python.org/16980">Issue #16980</a>: Fix processing of escaped non-ascii bytes in the
unicode-escape-decode decoder.</li>
<li><a class="reference external" href="https://bugs.python.org/16975">Issue #16975</a>: Fix error handling bug in the escape-decode bytes decoder.</li>
<li><a class="reference external" href="https://bugs.python.org/14850">Issue #14850</a>: Now a charmap decoder treats U+FFFE as &#8220;undefined mapping&#8221;
in any mapping, not only in a string.</li>
<li><a class="reference external" href="https://bugs.python.org/16613">Issue #16613</a>: Add <em>m</em> argument to <tt class="docutils literal"><span class="pre">collections.Chainmap.new_child</span></tt> to
allow the new child map to be specified explicitly.</li>
<li><a class="reference external" href="https://bugs.python.org/16730">Issue #16730</a>: importlib.machinery.FileFinder now no longers raises an
exception when trying to populate its cache and it finds out the directory is
unreadable or has turned into a file. Reported and diagnosed by
David Pritchard.</li>
<li><a class="reference external" href="https://bugs.python.org/16906">Issue #16906</a>: Fix a logic error that prevented most static strings from being
cleared.</li>
<li><a class="reference external" href="https://bugs.python.org/11461">Issue #11461</a>: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d&#8217;Arc.</li>
<li><a class="reference external" href="https://bugs.python.org/16856">Issue #16856</a>: Fix a segmentation fault from calling repr() on a dict with
a key whose repr raise an exception.</li>
<li><a class="reference external" href="https://bugs.python.org/16367">Issue #16367</a>: Fix FileIO.readall() on Windows for files larger than 2 GB.</li>
<li><a class="reference external" href="https://bugs.python.org/16761">Issue #16761</a>: Calling int() with base argument only now raises TypeError.</li>
<li><a class="reference external" href="https://bugs.python.org/16759">Issue #16759</a>: Support the full DWORD (unsigned long) range in Reg2Py
when retrieving a REG_DWORD value. This corrects functions like
winreg.QueryValueEx that may have been returning truncated values.</li>
<li><a class="reference external" href="https://bugs.python.org/14420">Issue #14420</a>: Support the full DWORD (unsigned long) range in Py2Reg
when passed a REG_DWORD value. Fixes OverflowError in winreg.SetValueEx.</li>
<li><a class="reference external" href="https://bugs.python.org/11939">Issue #11939</a>: Set the st_dev attribute of stat_result to allow Windows to
take advantage of the os.path.samefile/sameopenfile/samestat implementations
used by other platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/16772">Issue #16772</a>: The int() constructor&#8217;s second argument (base) no longer
accepts non integer values.  Consistent with the behavior in Python 2.</li>
<li><a class="reference external" href="https://bugs.python.org/14470">Issue #14470</a>: Remove w9xpopen support per PEP 11.</li>
<li><a class="reference external" href="https://bugs.python.org/9856">Issue #9856</a>: Replace deprecation warning with raising TypeError
in object.__format__. Patch by Florent Xicluna.</li>
<li><a class="reference external" href="https://bugs.python.org/16597">Issue #16597</a>: In buffered and text IO, call close() on the underlying stream
if invoking flush() fails.</li>
<li><a class="reference external" href="https://bugs.python.org/16722">Issue #16722</a>: In the bytes() constructor, try to call __bytes__ on the
argument before __index__.</li>
<li><a class="reference external" href="https://bugs.python.org/16421">Issue #16421</a>: loading multiple modules from one shared object is now
handled correctly (previously, the first module loaded from that file
was silently returned). Patch by Václav Šmilauer.</li>
<li><a class="reference external" href="https://bugs.python.org/16602">Issue #16602</a>: When a weakref&#8217;s target was part of a long deallocation
chain, the object could remain reachable through its weakref even though
its refcount had dropped to zero.</li>
<li><a class="reference external" href="https://bugs.python.org/16495">Issue #16495</a>: Remove extraneous NULL encoding check from bytes_decode().</li>
<li><a class="reference external" href="https://bugs.python.org/16619">Issue #16619</a>: Create NameConstant AST class to represent None, True, and False
literals. As a result, these constants are never loaded at runtime from
builtins.</li>
<li><a class="reference external" href="https://bugs.python.org/16455">Issue #16455</a>: On FreeBSD and Solaris, if the locale is C, the
ASCII/surrogateescape codec is now used (instead of the locale encoding) to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode(), because these operating systems announce an
ASCII locale encoding, but actually use the ISO-8859-1 encoding in practice.</li>
<li><a class="reference external" href="https://bugs.python.org/16562">Issue #16562</a>: Optimize dict equality testing.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16588">Issue #16588</a>: Silence unused-but-set warnings in Python/thread_pthread</li>
<li><a class="reference external" href="https://bugs.python.org/16592">Issue #16592</a>: stringlib_bytes_join doesn&#8217;t raise MemoryError on allocation
failure.</li>
<li><a class="reference external" href="https://bugs.python.org/16546">Issue #16546</a>: Fix: ast.YieldFrom argument is now mandatory.</li>
<li><a class="reference external" href="https://bugs.python.org/16514">Issue #16514</a>: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).</li>
<li><a class="reference external" href="https://bugs.python.org/16306">Issue #16306</a>: Fix multiple error messages when unknown command line
parameters where passed to the interpreter.  Patch by Hieu Nguyen.</li>
<li><a class="reference external" href="https://bugs.python.org/16215">Issue #16215</a>: Fix potential double memory free in str.replace().  Patch
by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16290">Issue #16290</a>: A float return value from the __complex__ special method is no
longer accepted in the complex() constructor.</li>
<li><a class="reference external" href="https://bugs.python.org/16416">Issue #16416</a>: On Mac OS X, operating system data are now always
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.</li>
<li><a class="reference external" href="https://bugs.python.org/16453">Issue #16453</a>: Fix equality testing of dead weakref objects.</li>
<li><a class="reference external" href="https://bugs.python.org/9535">Issue #9535</a>: Fix pending signals that have been received but not yet
handled by Python to not persist after os.fork() in the child process.</li>
<li><a class="reference external" href="https://bugs.python.org/14794">Issue #14794</a>: Fix slice.indices to return correct results for huge values,
rather than raising OverflowError.</li>
<li><a class="reference external" href="https://bugs.python.org/15001">Issue #15001</a>: fix segfault on &#8220;del sys.modules[&#8216;__main__&#8217;]&#8221;. Patch by Victor
Stinner.</li>
<li><a class="reference external" href="https://bugs.python.org/8271">Issue #8271</a>: the utf-8 decoder now outputs the correct number of U+FFFD
characters when used with the &#8216;replace&#8217; error handler on invalid utf-8
sequences.  Patch by Serhiy Storchaka, tests by Ezio Melotti.</li>
<li><a class="reference external" href="https://bugs.python.org/5765">Issue #5765</a>: Apply a hard recursion limit in the compiler instead of
blowing the stack and segfaulting. Initial patch by Andrea Griffini.</li>
<li><a class="reference external" href="https://bugs.python.org/16402">Issue #16402</a>: When slicing a range, fix shadowing of exceptions from
__index__.</li>
<li><a class="reference external" href="https://bugs.python.org/16336">Issue #16336</a>: fix input checking in the surrogatepass error handler.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/8401">Issue #8401</a>: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now
raises an error.</li>
<li><a class="reference external" href="https://bugs.python.org/7317">Issue #7317</a>: Display full tracebacks when an error occurs asynchronously.
Patch by Alon Horev with update by Alexey Kachayev.</li>
<li><a class="reference external" href="https://bugs.python.org/16309">Issue #16309</a>: Make PYTHONPATH=&#8221;&#8221; behavior the same as if PYTHONPATH
not set at all.</li>
<li><a class="reference external" href="https://bugs.python.org/10189">Issue #10189</a>: Improve the error reporting of SyntaxErrors related to global
and nonlocal statements.</li>
<li>Fix segfaults on setting __qualname__ on builtin types and attempting to
delete it on any type.</li>
<li><a class="reference external" href="https://bugs.python.org/14625">Issue #14625</a>: Rewrite the UTF-32 decoder. It is now 3x to 4x faster. Patch
written by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16345">Issue #16345</a>: Fix an infinite loop when <tt class="docutils literal"><span class="pre">fromkeys</span></tt> on a dict subclass
received a nonempty dict from the constructor.</li>
<li><a class="reference external" href="https://bugs.python.org/16271">Issue #16271</a>: Fix strange bugs that resulted from __qualname__ appearing in a
class&#8217;s __dict__ and on type.</li>
<li><a class="reference external" href="https://bugs.python.org/12805">Issue #12805</a>: Make bytes.join and bytearray.join faster when the separator
is empty.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/6074">Issue #6074</a>: Ensure cached bytecode files can always be updated by the
user that created them, even when the source file is read-only.</li>
<li><a class="reference external" href="https://bugs.python.org/15958">Issue #15958</a>: bytes.join and bytearray.join now accept arbitrary buffer
objects.</li>
<li><a class="reference external" href="https://bugs.python.org/14783">Issue #14783</a>: Improve int() docstring and switch docstrings for str(),
range(), and slice() to use multi-line signatures.</li>
<li><a class="reference external" href="https://bugs.python.org/16160">Issue #16160</a>: Subclass support now works for types.SimpleNamespace.</li>
<li><a class="reference external" href="https://bugs.python.org/16148">Issue #16148</a>: Implement PEP 424, adding operator.length_hint and
PyObject_LengthHint.</li>
<li>Upgrade Unicode data (UCD) to version 6.2.</li>
<li><a class="reference external" href="https://bugs.python.org/15379">Issue #15379</a>: Fix passing of non-BMP characters as integers for the charmap
decoder (already working as unicode strings).  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15144">Issue #15144</a>: Fix possible integer overflow when handling pointers as integer
values, by using <tt class="xref py py-obj docutils literal"><span class="pre">Py_uintptr_t</span></tt> instead of <tt class="xref py py-obj docutils literal"><span class="pre">size_t</span></tt>.  Patch by Serhiy
Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15965">Issue #15965</a>: Explicitly cast <tt class="xref py py-obj docutils literal"><span class="pre">AT_FDCWD</span></tt> as (int).  Required on Solaris 10
(which defines <tt class="xref py py-obj docutils literal"><span class="pre">AT_FDCWD</span></tt> as <tt class="docutils literal"><span class="pre">0xffd19553</span></tt>), harmless on other platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/15839">Issue #15839</a>: Convert SystemErrors in <a class="reference internal" href="../library/functions.html#super" title="super"><tt class="xref py py-obj docutils literal"><span class="pre">super()</span></tt></a> to RuntimeErrors.</li>
<li><a class="reference external" href="https://bugs.python.org/15448">Issue #15448</a>: Buffered IO now frees the buffer when closed, instead
of when deallocating.</li>
<li><a class="reference external" href="https://bugs.python.org/15846">Issue #15846</a>: Fix SystemError which happened when using <a class="reference internal" href="../library/ast.html#ast.parse" title="ast.parse"><tt class="xref py py-obj docutils literal"><span class="pre">ast.parse()</span></tt></a> in an
exception handler on code with syntax errors.</li>
<li><a class="reference external" href="https://bugs.python.org/15897">Issue #15897</a>: zipimport.c doesn&#8217;t check return value of fseek().
Patch by Felipe Cruz.</li>
<li><a class="reference external" href="https://bugs.python.org/15801">Issue #15801</a>: Make sure mappings passed to &#8216;%&#8217; formatting are actually
subscriptable.</li>
<li><a class="reference external" href="https://bugs.python.org/15111">Issue #15111</a>: __import__ should propagate ImportError when raised as a
side-effect of a module triggered from using fromlist.</li>
<li><a class="reference external" href="https://bugs.python.org/15022">Issue #15022</a>: Add pickle and comparison support to types.SimpleNamespace.</li>
</ul>
</div>
<div class="section" id="id87">
<h3>Library<a class="headerlink" href="#id87" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/4331">Issue #4331</a>: Added functools.partialmethod (Initial patch by Alon Horev)</li>
<li><a class="reference external" href="https://bugs.python.org/13461">Issue #13461</a>: Fix a crash in the TextIOWrapper.tell method on 64-bit
platforms.  Patch by Yogesh Chaudhari.</li>
<li><a class="reference external" href="https://bugs.python.org/18681">Issue #18681</a>: Fix a NameError in importlib.reload() (noticed by Weizhao Li).</li>
<li><a class="reference external" href="https://bugs.python.org/14323">Issue #14323</a>: Expanded the number of digits in the coefficients for the
RGB &#8211; YIQ conversions so that they match the FCC NTSC versions.</li>
<li><a class="reference external" href="https://bugs.python.org/17998">Issue #17998</a>: Fix an internal error in regular expression engine.</li>
<li><a class="reference external" href="https://bugs.python.org/17557">Issue #17557</a>: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8.  Original patch by Mateusz Lenik.</li>
<li><a class="reference external" href="https://bugs.python.org/18608">Issue #18608</a>: Avoid keeping a strong reference to the locale module
inside the _io module.</li>
<li><a class="reference external" href="https://bugs.python.org/18619">Issue #18619</a>: Fix atexit leaking callbacks registered from sub-interpreters,
and make it GC-aware.</li>
<li><a class="reference external" href="https://bugs.python.org/15699">Issue #15699</a>: The readline module now uses PEP 3121-style module
initialization, so as to reclaim allocated resources (Python callbacks)
at shutdown.  Original patch by Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/17616">Issue #17616</a>: wave.open now supports the context management protocol.</li>
<li><a class="reference external" href="https://bugs.python.org/18599">Issue #18599</a>: Fix name attribute of _sha1.sha1() object. It now returns
&#8216;SHA1&#8217; instead of &#8216;SHA&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/13266">Issue #13266</a>: Added inspect.unwrap to easily unravel __wrapped__ chains
(initial patch by Daniel Urban and Aaron Iles)</li>
<li><a class="reference external" href="https://bugs.python.org/18561">Issue #18561</a>: Skip name in ctypes&#8217; _build_callargs() if name is NULL.</li>
<li><a class="reference external" href="https://bugs.python.org/18559">Issue #18559</a>: Fix NULL pointer dereference error in _pickle module</li>
<li><a class="reference external" href="https://bugs.python.org/18556">Issue #18556</a>: Check the return type of PyUnicode_AsWideChar() in ctype&#8217;s
U_set().</li>
<li><a class="reference external" href="https://bugs.python.org/17818">Issue #17818</a>: aifc.getparams now returns a namedtuple.</li>
<li><a class="reference external" href="https://bugs.python.org/18549">Issue #18549</a>: Eliminate dead code in socket_ntohl()</li>
<li><a class="reference external" href="https://bugs.python.org/18530">Issue #18530</a>: Remove additional stat call from posixpath.ismount.
Patch by Alex Gaynor.</li>
<li><a class="reference external" href="https://bugs.python.org/18514">Issue #18514</a>: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()</li>
<li><a class="reference external" href="https://bugs.python.org/9177">Issue #9177</a>: Calling read() or write() now raises ValueError, not
AttributeError, on a closed SSL socket.  Patch by Senko Rasic.</li>
<li><a class="reference external" href="https://bugs.python.org/18513">Issue #18513</a>: Fix behaviour of cmath.rect w.r.t. signed zeros on OS X 10.8 +
gcc.</li>
<li><a class="reference external" href="https://bugs.python.org/18479">Issue #18479</a>: Changed venv Activate.ps1 to make deactivate a function, and
removed Deactivate.ps1.</li>
<li><a class="reference external" href="https://bugs.python.org/18480">Issue #18480</a>: Add missing call to PyType_Ready to the _elementtree extension.</li>
<li><a class="reference external" href="https://bugs.python.org/17778">Issue #17778</a>: Fix test discovery for test_multiprocessing. (Patch by
Zachary Ware.)</li>
<li><a class="reference external" href="https://bugs.python.org/18393">Issue #18393</a>: The private module _gestalt and private functions
platform._mac_ver_gestalt, platform._mac_ver_lookup and
platform._bcd2str have been removed. This does not affect the public
interface of the platform module.</li>
<li><a class="reference external" href="https://bugs.python.org/17482">Issue #17482</a>: functools.update_wrapper (and functools.wraps) now set the
__wrapped__ attribute correctly even if the underlying function has a
__wrapped__ attribute set.</li>
<li><a class="reference external" href="https://bugs.python.org/18431">Issue #18431</a>: The new email header parser now decodes RFC2047 encoded words
in structured headers.</li>
<li><a class="reference external" href="https://bugs.python.org/18432">Issue #18432</a>: The sched module&#8217;s queue method was incorrectly returning
an iterator instead of a list.</li>
<li><a class="reference external" href="https://bugs.python.org/18044">Issue #18044</a>: The new email header parser was mis-parsing encoded words where
an encoded character immediately followed the &#8216;?&#8217; that follows the CTE
character, resulting in a decoding failure.  They are now decoded correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/18101">Issue #18101</a>: Tcl.split() now process strings nested in a tuple as it
do with byte strings.</li>
<li><a class="reference external" href="https://bugs.python.org/18116">Issue #18116</a>: getpass was always getting an error when testing /dev/tty,
and thus was always falling back to stdin, and would then raise an exception
if stdin could not be used (such as /dev/null).  It also leaked an open file.
All of these issues are now fixed.</li>
<li><a class="reference external" href="https://bugs.python.org/17198">Issue #17198</a>: Fix a NameError in the dbm module.  Patch by Valentina
Mukhamedzhanova.</li>
<li><a class="reference external" href="https://bugs.python.org/18013">Issue #18013</a>: Fix cgi.FieldStorage to parse the W3C sample form.</li>
<li><a class="reference external" href="https://bugs.python.org/18020">Issue #18020</a>: improve html.escape speed by an order of magnitude.
Patch by Matt Bryant.</li>
<li><a class="reference external" href="https://bugs.python.org/18347">Issue #18347</a>: ElementTree&#8217;s html serializer now preserves the case of
closing tags.</li>
<li><a class="reference external" href="https://bugs.python.org/17261">Issue #17261</a>: Ensure multiprocessing&#8217;s proxies use proper address.</li>
<li><a class="reference external" href="https://bugs.python.org/18343">Issue #18343</a>: faulthandler.register() now keeps the previous signal handler
when the function is called twice, so faulthandler.unregister() restores
correctly the original signal handler.</li>
<li><a class="reference external" href="https://bugs.python.org/17097">Issue #17097</a>: Make multiprocessing ignore EINTR.</li>
<li><a class="reference external" href="https://bugs.python.org/18339">Issue #18339</a>: Negative ints keys in unpickler.memo dict no longer cause a
segfault inside the _pickle C extension.</li>
<li><a class="reference external" href="https://bugs.python.org/18240">Issue #18240</a>: The HMAC module is no longer restricted to bytes and accepts
any bytes-like object, e.g. memoryview. Original patch by Jonas Borgström.</li>
<li><a class="reference external" href="https://bugs.python.org/18224">Issue #18224</a>: Removed pydoc script from created venv, as it causes problems
on Windows and adds no value over and above python -m pydoc ...</li>
<li><a class="reference external" href="https://bugs.python.org/18155">Issue #18155</a>: The csv module now correctly handles csv files that use
a delimter character that has a special meaning in regexes, instead of
throwing an exception.</li>
<li><a class="reference external" href="https://bugs.python.org/14360">Issue #14360</a>: encode_quopri can now be successfully used as an encoder
when constructing a MIMEApplication object.</li>
<li><a class="reference external" href="https://bugs.python.org/11390">Issue #11390</a>: Add -o and -f command line options to the doctest CLI to
specify doctest options (and convert it to using argparse).</li>
<li><a class="reference external" href="https://bugs.python.org/18135">Issue #18135</a>: ssl.SSLSocket.write() now raises an OverflowError if the input
string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain()
raises a ValueError if the password is longer than 2 gigabytes. The ssl
module does not support partial write.</li>
<li><a class="reference external" href="https://bugs.python.org/11016">Issue #11016</a>: Add C implementation of the stat module as _stat.</li>
<li><a class="reference external" href="https://bugs.python.org/18248">Issue #18248</a>: Fix libffi build on AIX.</li>
<li><a class="reference external" href="https://bugs.python.org/18259">Issue #18259</a>: Declare sethostname in socketmodule.c for AIX</li>
<li><a class="reference external" href="https://bugs.python.org/18147">Issue #18147</a>: Add diagnostic functions to ssl.SSLContext(). get_ca_list()
lists all loaded CA certificates and cert_store_stats() returns amount of
loaded X.509 certs, X.509 CA certs and CRLs.</li>
<li><a class="reference external" href="https://bugs.python.org/18167">Issue #18167</a>: cgi.FieldStorage no longer fails to handle multipart/form-data
when rn appears at end of 65535 bytes without other newlines.</li>
<li><a class="reference external" href="https://bugs.python.org/18076">Issue #18076</a>: Introduce importlib.util.decode_source().</li>
<li><a class="reference external" href="https://bugs.python.org/18357">Issue #18357</a>: add tests for dictview set difference.
Patch by Fraser Tweedale.</li>
<li>importlib.abc.SourceLoader.get_source() no longer changes SyntaxError or
UnicodeDecodeError into ImportError.</li>
<li><a class="reference external" href="https://bugs.python.org/18058">Issue #18058</a>, 18057: Make the namespace package loader meet the
importlib.abc.InspectLoader ABC, allowing for namespace packages to work with
runpy.</li>
<li><a class="reference external" href="https://bugs.python.org/17177">Issue #17177</a>: The imp module is pending deprecation.</li>
<li>subprocess: Prevent a possible double close of parent pipe fds when the
subprocess exec runs into an error.  Prevent a regular multi-close of the
/dev/null fd when any of stdin, stdout and stderr was set to DEVNULL.</li>
<li><a class="reference external" href="https://bugs.python.org/18194">Issue #18194</a>: Introduce importlib.util.cache_from_source() and
source_from_cache() while documenting the equivalent functions in imp as
deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/17907">Issue #17907</a>: Document imp.new_module() as deprecated in favour of
types.ModuleType.</li>
<li><a class="reference external" href="https://bugs.python.org/18192">Issue #18192</a>: Introduce importlib.util.MAGIC_NUMBER and document as deprecated
imp.get_magic().</li>
<li><a class="reference external" href="https://bugs.python.org/18149">Issue #18149</a>: Add filecmp.clear_cache() to manually clear the filecmp cache.
Patch by Mark Levitt</li>
<li><a class="reference external" href="https://bugs.python.org/18193">Issue #18193</a>: Add importlib.reload().</li>
<li><a class="reference external" href="https://bugs.python.org/18157">Issue #18157</a>: Stop using imp.load_module() in pydoc.</li>
<li><a class="reference external" href="https://bugs.python.org/16102">Issue #16102</a>: Make uuid._netbios_getnode() work again on Python 3.</li>
<li><a class="reference external" href="https://bugs.python.org/17134">Issue #17134</a>: Add ssl.enum_cert_store() as interface to Windows&#8217; cert store.</li>
<li><a class="reference external" href="https://bugs.python.org/18143">Issue #18143</a>: Implement ssl.get_default_verify_paths() in order to debug
the default locations for cafile and capath.</li>
<li><a class="reference external" href="https://bugs.python.org/17314">Issue #17314</a>: Move multiprocessing.forking over to importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/11959">Issue #11959</a>: SMTPServer and SMTPChannel now take an optional map, use of
which avoids affecting global state.</li>
<li><a class="reference external" href="https://bugs.python.org/18109">Issue #18109</a>: os.uname() now decodes fields from the locale encoding, and
socket.gethostname() now decodes the hostname from the locale encoding,
instead of using the UTF-8 encoding in strict mode.</li>
<li><a class="reference external" href="https://bugs.python.org/18089">Issue #18089</a>: Implement importlib.abc.InspectLoader.load_module.</li>
<li><a class="reference external" href="https://bugs.python.org/18088">Issue #18088</a>: Introduce importlib.abc.Loader.init_module_attrs for setting
module attributes. Leads to the pending deprecation of
importlib.util.module_for_loader.</li>
<li><a class="reference external" href="https://bugs.python.org/17403">Issue #17403</a>: urllib.parse.robotparser normalizes the urls before adding to
ruleline. This helps in handling certain types invalid urls in a conservative
manner. Patch contributed by Mher Movsisyan.</li>
<li><a class="reference external" href="https://bugs.python.org/18070">Issue #18070</a>: Have importlib.util.module_for_loader() set attributes
unconditionally in order to properly support reloading.</li>
<li>Added importlib.util.module_to_load to return a context manager to provide the
proper module object to load.</li>
<li><a class="reference external" href="https://bugs.python.org/18025">Issue #18025</a>: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream&#8217;s read() returns more bytes than requested.</li>
<li><a class="reference external" href="https://bugs.python.org/18011">Issue #18011</a>: As was originally intended, base64.b32decode() now raises a
binascii.Error if there are non-b32-alphabet characters present in the input
string, instead of a TypeError.</li>
<li><a class="reference external" href="https://bugs.python.org/18072">Issue #18072</a>: Implement importlib.abc.InspectLoader.get_code() and
importlib.abc.ExecutionLoader.get_code().</li>
<li><a class="reference external" href="https://bugs.python.org/8240">Issue #8240</a>: Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL
sockets.</li>
<li><a class="reference external" href="https://bugs.python.org/17269">Issue #17269</a>: Workaround for socket.getaddrinfo crash on MacOS X
with port None or &#8220;0&#8221; and flags AI_NUMERICSERV.</li>
<li><a class="reference external" href="https://bugs.python.org/16986">Issue #16986</a>: ElementTree now correctly works with string input when the
internal XML encoding is not UTF-8 or US-ASCII.</li>
<li><a class="reference external" href="https://bugs.python.org/17996">Issue #17996</a>: socket module now exposes AF_LINK constant on BSD and OSX.</li>
<li><a class="reference external" href="https://bugs.python.org/17900">Issue #17900</a>: Allowed pickling of recursive OrderedDicts.  Decreased pickled
size and pickling time.</li>
<li><a class="reference external" href="https://bugs.python.org/17914">Issue #17914</a>: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an
initial patch by Trent Nelson.</li>
<li><a class="reference external" href="https://bugs.python.org/17812">Issue #17812</a>: Fixed quadratic complexity of base64.b32encode().
Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).</li>
<li><a class="reference external" href="https://bugs.python.org/17980">Issue #17980</a>: Fix possible abuse of ssl.match_hostname() for denial of
service using certificates with many wildcards (CVE-2013-2099).</li>
<li><a class="reference external" href="https://bugs.python.org/15758">Issue #15758</a>: Fix FileIO.readall() so it no longer has O(n**2) complexity.</li>
<li><a class="reference external" href="https://bugs.python.org/14596">Issue #14596</a>: The struct.Struct() objects now use a more compact
implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/17981">Issue #17981</a>: logging&#8217;s SysLogHandler now closes the socket when it catches
socket OSErrors.</li>
<li><a class="reference external" href="https://bugs.python.org/17964">Issue #17964</a>: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.</li>
<li>Fix typos in the multiprocessing module.</li>
<li><a class="reference external" href="https://bugs.python.org/17754">Issue #17754</a>: Make ctypes.util.find_library() independent of the locale.</li>
<li><a class="reference external" href="https://bugs.python.org/17968">Issue #17968</a>: Fix memory leak in os.listxattr().</li>
<li><a class="reference external" href="https://bugs.python.org/17606">Issue #17606</a>: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.</li>
<li><a class="reference external" href="https://bugs.python.org/17732">Issue #17732</a>: Ignore distutils.cfg options pertaining to install paths if a
virtual environment is active.</li>
<li><a class="reference external" href="https://bugs.python.org/17915">Issue #17915</a>: Fix interoperability of xml.sax with file objects returned by
codecs.open().</li>
<li><a class="reference external" href="https://bugs.python.org/16601">Issue #16601</a>: Restarting iteration over tarfile really restarts rather
than continuing from where it left off.  Patch by Michael Birtwell.</li>
<li><a class="reference external" href="https://bugs.python.org/17289">Issue #17289</a>: The readline module now plays nicer with external modules
or applications changing the rl_completer_word_break_characters global
variable.  Initial patch by Bradley Froehle.</li>
<li><a class="reference external" href="https://bugs.python.org/12181">Issue #12181</a>: select module: Fix struct kevent definition on OpenBSD 64-bit
platforms. Patch by Federico Schwindt.</li>
<li><a class="reference external" href="https://bugs.python.org/11816">Issue #11816</a>: multiple improvements to the dis module: get_instructions
generator, ability to redirect output to a file, Bytecode and Instruction
abstractions. Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.</li>
<li><a class="reference external" href="https://bugs.python.org/13831">Issue #13831</a>: Embed stringification of remote traceback in local
traceback raised when pool task raises an exception.</li>
<li><a class="reference external" href="https://bugs.python.org/15528">Issue #15528</a>: Add weakref.finalize to support finalization using
weakref callbacks.</li>
<li><a class="reference external" href="https://bugs.python.org/14173">Issue #14173</a>: Avoid crashing when reading a signal handler during
interpreter shutdown.</li>
<li><a class="reference external" href="https://bugs.python.org/15902">Issue #15902</a>: Fix imp.load_module() accepting None as a file when loading an
extension module.</li>
<li><a class="reference external" href="https://bugs.python.org/13721">Issue #13721</a>: SSLSocket.getpeercert() and SSLSocket.do_handshake() now
raise an OSError with ENOTCONN, instead of an AttributeError, when the
SSLSocket is not connected.</li>
<li><a class="reference external" href="https://bugs.python.org/14679">Issue #14679</a>: add an __all__ (that contains only HTMLParser) to html.parser.</li>
<li><a class="reference external" href="https://bugs.python.org/17802">Issue #17802</a>: Fix an UnboundLocalError in html.parser.  Initial tests by
Thomas Barlow.</li>
<li><a class="reference external" href="https://bugs.python.org/17358">Issue #17358</a>: Modules loaded by imp.load_source() and load_compiled() (and by
extention load_module()) now have a better chance of working when reloaded.</li>
<li><a class="reference external" href="https://bugs.python.org/17804">Issue #17804</a>: New function <tt class="docutils literal"><span class="pre">struct.iter_unpack</span></tt> allows for streaming
struct unpacking.</li>
<li><a class="reference external" href="https://bugs.python.org/17830">Issue #17830</a>: When keyword.py is used to update a keyword file, it now
preserves the line endings of the original file.</li>
<li><a class="reference external" href="https://bugs.python.org/17272">Issue #17272</a>: Making the urllib.request&#8217;s Request.full_url a descriptor.
Fixes bugs with assignment to full_url. Patch by Demian Brecht.</li>
<li><a class="reference external" href="https://bugs.python.org/17353">Issue #17353</a>: Plistlib emitted empty data tags with deeply nested datastructures</li>
<li><a class="reference external" href="https://bugs.python.org/11714">Issue #11714</a>: Use &#8216;with&#8217; statements to assure a Semaphore releases a
condition variable.  Original patch by Thomas Rachel.</li>
<li><a class="reference external" href="https://bugs.python.org/16624">Issue #16624</a>: <a class="reference internal" href="../library/subprocess.html#subprocess.check_output" title="subprocess.check_output"><tt class="xref py py-obj docutils literal"><span class="pre">subprocess.check_output</span></tt></a> now accepts an <a class="reference internal" href="../library/functions.html#input" title="input"><tt class="xref py py-obj docutils literal"><span class="pre">input</span></tt></a> argument,
allowing the subprocess&#8217;s stdin to be provided as a (byte) string.
Patch by Zack Weinberg.</li>
<li><a class="reference external" href="https://bugs.python.org/17795">Issue #17795</a>: Reverted backwards-incompatible change in SysLogHandler with
Unix domain sockets.</li>
<li><a class="reference external" href="https://bugs.python.org/16694">Issue #16694</a>: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/11182">Issue #11182</a>: remove the unused and undocumented pydoc.Scanner class.
Patch by Martin Morrison.</li>
<li><a class="reference external" href="https://bugs.python.org/17741">Issue #17741</a>: Add ElementTree.XMLPullParser, an event-driven parser for
non-blocking applications.</li>
<li><a class="reference external" href="https://bugs.python.org/17555">Issue #17555</a>: Fix ForkAwareThreadLock so that size of after fork
registry does not grow exponentially with generation of process.</li>
<li><a class="reference external" href="https://bugs.python.org/17707">Issue #17707</a>: fix regression in multiprocessing.Queue&#8217;s get() method where
it did not block for short timeouts.</li>
<li><a class="reference external" href="https://bugs.python.org/17720">Issue #17720</a>: Fix the Python implementation of pickle.Unpickler to correctly
process the APPENDS opcode when it is used on non-list objects.</li>
<li><a class="reference external" href="https://bugs.python.org/17012">Issue #17012</a>: shutil.which() no longer falls back to the PATH environment
variable if an empty path argument is specified.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/17710">Issue #17710</a>: Fix pickle raising a SystemError on bogus input.</li>
<li><a class="reference external" href="https://bugs.python.org/17341">Issue #17341</a>: Include the invalid name in the error messages from re about
invalid group names.</li>
<li><a class="reference external" href="https://bugs.python.org/17702">Issue #17702</a>: os.environ now raises KeyError with the original environment
variable name (str on UNIX), instead of using the encoded name (bytes on
UNIX).</li>
<li><a class="reference external" href="https://bugs.python.org/16163">Issue #16163</a>: Make the importlib based version of pkgutil.iter_importers
work for submodules. Initial patch by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/16804">Issue #16804</a>: Fix a bug in the &#8216;site&#8217; module that caused running
&#8216;python -S -m site&#8217; to incorrectly throw an exception.</li>
<li><a class="reference external" href="https://bugs.python.org/15480">Issue #15480</a>: Remove the deprecated and unused TYPE_INT64 code from marshal.
Initial patch by Daniel Riti.</li>
<li><a class="reference external" href="https://bugs.python.org/2118">Issue #2118</a>: SMTPException is now a subclass of OSError.</li>
<li><a class="reference external" href="https://bugs.python.org/17016">Issue #17016</a>: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.</li>
<li><a class="reference external" href="https://bugs.python.org/16658">Issue #16658</a>: add missing return to HTTPConnection.send()
Patch by Jeff Knupp.</li>
<li><a class="reference external" href="https://bugs.python.org/9556">Issue #9556</a>: the logging package now allows specifying a time-of-day for a
TimedRotatingFileHandler to rotate.</li>
<li><a class="reference external" href="https://bugs.python.org/14971">Issue #14971</a>: unittest test discovery no longer gets confused when a function
has a different __name__ than its name in the TestCase class dictionary.</li>
<li><a class="reference external" href="https://bugs.python.org/17487">Issue #17487</a>: The wave getparams method now returns a namedtuple rather than
a plain tuple.</li>
<li><a class="reference external" href="https://bugs.python.org/17675">Issue #17675</a>: socket repr() provides local and remote addresses (if any).
Patch by Giampaolo Rodola&#8217;</li>
<li><a class="reference external" href="https://bugs.python.org/17093">Issue #17093</a>: Make the ABCs in importlib.abc provide default values or raise
reasonable exceptions for their methods to make them more amenable to super()
calls.</li>
<li><a class="reference external" href="https://bugs.python.org/17566">Issue #17566</a>: Make importlib.abc.Loader.module_repr() optional instead of an
abstractmethod; now it raises NotImplementedError so as to be ignored by default.</li>
<li><a class="reference external" href="https://bugs.python.org/17678">Issue #17678</a>: Remove the use of deprecated method in http/cookiejar.py by
changing the call to get_origin_req_host() to origin_req_host.</li>
<li><a class="reference external" href="https://bugs.python.org/17666">Issue #17666</a>: Fix reading gzip files with an extra field.</li>
<li><a class="reference external" href="https://bugs.python.org/16475">Issue #16475</a>: Support object instancing, recursion and interned strings
in marshal</li>
<li><a class="reference external" href="https://bugs.python.org/17502">Issue #17502</a>: Process DEFAULT values in mock side_effect that returns iterator.</li>
<li><a class="reference external" href="https://bugs.python.org/16795">Issue #16795</a>: On the ast.arguments object, unify vararg with varargannotation
and kwarg and kwargannotation. Change the column offset of ast.Attribute to be
at the attribute name.</li>
<li><a class="reference external" href="https://bugs.python.org/17434">Issue #17434</a>: Properly raise a SyntaxError when a string occurs between future
imports.</li>
<li><a class="reference external" href="https://bugs.python.org/17117">Issue #17117</a>: Import and &#64;importlib.util.set_loader now set __loader__ when
it has a value of None or the attribute doesn&#8217;t exist.</li>
<li><a class="reference external" href="https://bugs.python.org/17032">Issue #17032</a>: The &#8220;global&#8221; in the &#8220;NameError: global name &#8216;x&#8217; is not defined&#8221;
error message has been removed.  Patch by Ram Rachum.</li>
<li><a class="reference external" href="https://bugs.python.org/18080">Issue #18080</a>: When building a C extension module on OS X, if the compiler
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden.  This restores
Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.</li>
<li><a class="reference external" href="https://bugs.python.org/18113">Issue #18113</a>: Fixed a refcount leak in the curses.panel module&#8217;s
set_userptr() method.  Reported by Atsuo Ishimoto.</li>
<li>Implement PEP 443 &#8220;Single-dispatch generic functions&#8221;.</li>
<li>Implement PEP 435 &#8220;Adding an Enum type to the Python standard library&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/15596">Issue #15596</a>: Faster pickling of unicode strings.</li>
<li><a class="reference external" href="https://bugs.python.org/17572">Issue #17572</a>: Avoid chained exceptions when passing bad directives to
time.strptime().  Initial patch by Claudiu Popa.</li>
<li><a class="reference external" href="https://bugs.python.org/17435">Issue #17435</a>: threading.Timer&#8217;s __init__ method no longer uses mutable
default values for the args and kwargs parameters.</li>
<li><a class="reference external" href="https://bugs.python.org/17526">Issue #17526</a>: fix an IndexError raised while passing code without filename to
inspect.findsource().  Initial patch by Tyler Doyle.</li>
<li><a class="reference external" href="https://bugs.python.org/17540">Issue #17540</a>: Added style parameter to logging formatter configuration by dict.</li>
<li><a class="reference external" href="https://bugs.python.org/16692">Issue #16692</a>: The ssl module now supports TLS 1.1 and TLS 1.2.  Initial
patch by Michele Orrù.</li>
<li><a class="reference external" href="https://bugs.python.org/17025">Issue #17025</a>: multiprocessing: Reduce Queue and SimpleQueue contention.</li>
<li><a class="reference external" href="https://bugs.python.org/17536">Issue #17536</a>: Add to webbrowser&#8217;s browser list: www-browser, x-www-browser,
iceweasel, iceape.</li>
<li><a class="reference external" href="https://bugs.python.org/17150">Issue #17150</a>: pprint now uses line continuations to wrap long string
literals.</li>
<li><a class="reference external" href="https://bugs.python.org/17488">Issue #17488</a>: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.</li>
<li><a class="reference external" href="https://bugs.python.org/17521">Issue #17521</a>: Corrected non-enabling of logger following two calls to
fileConfig().</li>
<li><a class="reference external" href="https://bugs.python.org/17508">Issue #17508</a>: Corrected logging MemoryHandler configuration in dictConfig()
where the target handler wasn&#8217;t configured first.</li>
<li><a class="reference external" href="https://bugs.python.org/17209">Issue #17209</a>: curses.window.get_wch() now correctly handles KeyboardInterrupt
(CTRL+c).</li>
<li><a class="reference external" href="https://bugs.python.org/5713">Issue #5713</a>: smtplib now handles 421 (closing connection) error codes when
sending mail by closing the socket and reporting the 421 error code via the
exception appropriate to the command that received the error response.</li>
<li><a class="reference external" href="https://bugs.python.org/16997">Issue #16997</a>: unittest.TestCase now provides a subTest() context manager
to procedurally generate, in an easy way, small test instances.</li>
<li><a class="reference external" href="https://bugs.python.org/17485">Issue #17485</a>: Also delete the Request Content-Length header if the data
attribute is deleted.  (Follow on to issue <a class="reference external" href="https://bugs.python.org/16464">Issue #16464</a>).</li>
<li><a class="reference external" href="https://bugs.python.org/15927">Issue #15927</a>: CVS now correctly parses escaped newlines and carriage
when parsing with quoting turned off.</li>
<li><a class="reference external" href="https://bugs.python.org/17467">Issue #17467</a>: add readline and readlines support to mock_open in
unittest.mock.</li>
<li><a class="reference external" href="https://bugs.python.org/13248">Issue #13248</a>: removed deprecated and undocumented difflib.isbjunk,
isbpopular.</li>
<li><a class="reference external" href="https://bugs.python.org/17192">Issue #17192</a>: Update the ctypes module&#8217;s libffi to v3.0.13.  This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/8862">Issue #8862</a>: Fixed curses cleanup when getkey is interrputed by a signal.</li>
<li><a class="reference external" href="https://bugs.python.org/17443">Issue #17443</a>: imaplib.IMAP4_stream was using the default unbuffered IO
in subprocess, but the imap code assumes buffered IO.  In Python2 this
worked by accident.  IMAP4_stream now explicitly uses buffered IO.</li>
<li><a class="reference external" href="https://bugs.python.org/17476">Issue #17476</a>: Fixed regression relative to Python2 in undocumented pydoc
&#8216;allmethods&#8217;; it was missing unbound methods on the class.</li>
<li><a class="reference external" href="https://bugs.python.org/17474">Issue #17474</a>: Remove the deprecated methods of Request class.</li>
<li><a class="reference external" href="https://bugs.python.org/16709">Issue #16709</a>: unittest discover order is no-longer filesystem specific. Patch
by Jeff Ramnani.</li>
<li>Use the HTTPS PyPI url for upload, overriding any plain HTTP URL in pypirc.</li>
<li><a class="reference external" href="https://bugs.python.org/5024">Issue #5024</a>: sndhdr.whichhdr now returns the frame count for WAV files
rather than -1.</li>
<li><a class="reference external" href="https://bugs.python.org/17460">Issue #17460</a>: Remove the strict argument of HTTPConnection and removing the
DeprecationWarning being issued from 3.2 onwards.</li>
<li><a class="reference external" href="https://bugs.python.org/16880">Issue #16880</a>: Do not assume _imp.load_dynamic() is defined in the imp module.</li>
<li><a class="reference external" href="https://bugs.python.org/16389">Issue #16389</a>: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.</li>
<li>Added missing FeedParser and BytesFeedParser to email.parser.__all__.</li>
<li><a class="reference external" href="https://bugs.python.org/17431">Issue #17431</a>: Fix missing import of BytesFeedParser in email.parser.</li>
<li><a class="reference external" href="https://bugs.python.org/12921">Issue #12921</a>: http.server&#8217;s send_error takes an explain argument to send more
information in response. Patch contributed by Karl.</li>
<li><a class="reference external" href="https://bugs.python.org/17414">Issue #17414</a>: Add timeit, repeat, and default_timer to timeit.__all__.</li>
<li><a class="reference external" href="https://bugs.python.org/1285086">Issue #1285086</a>: Get rid of the refcounting hack and speed up
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().</li>
<li><a class="reference external" href="https://bugs.python.org/17099">Issue #17099</a>: Have importlib.find_loader() raise ValueError when __loader__
is not set, harmonizing with what happens when the attribute is set to None.</li>
<li>Expose the O_PATH constant in the os module if it is available.</li>
<li><a class="reference external" href="https://bugs.python.org/17368">Issue #17368</a>: Fix an off-by-one error in the Python JSON decoder that caused
a failure while decoding empty object literals when object_pairs_hook was
specified.</li>
<li><a class="reference external" href="https://bugs.python.org/17385">Issue #17385</a>: Fix quadratic behavior in threading.Condition.  The FIFO
queue now uses a deque instead of a list.</li>
<li><a class="reference external" href="https://bugs.python.org/15806">Issue #15806</a>: Add contextlib.ignore().  This creates a context manager to
ignore specified exceptions, replacing the &#8220;except SomeException: pass&#8221; idiom.</li>
<li><a class="reference external" href="https://bugs.python.org/14645">Issue #14645</a>: The email generator classes now produce output using the
specified linesep throughout.  Previously if the prolog, epilog, or
body were stored with a different linesep, that linesep was used.  This
fix corrects an RFC non-compliance issue with smtplib.send_message.</li>
<li><a class="reference external" href="https://bugs.python.org/17278">Issue #17278</a>: Fix a crash in heapq.heappush() and heapq.heappop() when
the list is being resized concurrently.</li>
<li><a class="reference external" href="https://bugs.python.org/16962">Issue #16962</a>: Use getdents64 instead of the obsolete getdents syscall
in the subprocess module on Linux.</li>
<li><a class="reference external" href="https://bugs.python.org/16935">Issue #16935</a>: unittest now counts the module as skipped if it raises SkipTest,
instead of counting it as an error.  Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17018">Issue #17018</a>: Make Process.join() retry if os.waitpid() fails with EINTR.</li>
<li><a class="reference external" href="https://bugs.python.org/17223">Issue #17223</a>: array module: Fix a crasher when converting an array containing
invalid characters (outside range [U+0000; U+10ffff]) to Unicode:
repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.</li>
<li><a class="reference external" href="https://bugs.python.org/17197">Issue #17197</a>: profile/cProfile modules refactored so that code of run() and
runctx() utility functions is not duplicated in both modules.</li>
<li><a class="reference external" href="https://bugs.python.org/14720">Issue #14720</a>: sqlite3: Convert datetime microseconds correctly.
Patch by Lowe Thiderman.</li>
<li><a class="reference external" href="https://bugs.python.org/15132">Issue #15132</a>: Allow a list for the defaultTest argument of
unittest.TestProgram. Patch by Jyrki Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/17225">Issue #17225</a>: JSON decoder now counts columns in the first line starting
with 1, as in other lines.</li>
<li><a class="reference external" href="https://bugs.python.org/6623">Issue #6623</a>: Added explicit DeprecationWarning for ftplib.netrc, which has
been deprecated and undocumented for a long time.</li>
<li><a class="reference external" href="https://bugs.python.org/13700">Issue #13700</a>: Fix byte/string handling in imaplib authentication when an
authobject is specified.</li>
<li><a class="reference external" href="https://bugs.python.org/13153">Issue #13153</a>: Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.</li>
<li><a class="reference external" href="https://bugs.python.org/9669">Issue #9669</a>: Protect re against infinite loops on zero-width matching in
non-greedy repeat.  Patch by Matthew Barnett.</li>
<li><a class="reference external" href="https://bugs.python.org/13169">Issue #13169</a>: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).</li>
<li><a class="reference external" href="https://bugs.python.org/17143">Issue #17143</a>: Fix a missing import in the trace module.  Initial patch by
Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/15220">Issue #15220</a>: email.feedparser&#8217;s line splitting algorithm is now simpler and
faster.</li>
<li><a class="reference external" href="https://bugs.python.org/16743">Issue #16743</a>: Fix mmap overflow check on 32 bit Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/16996">Issue #16996</a>: webbrowser module now uses shutil.which() to find a
web-browser on the executable search path.</li>
<li><a class="reference external" href="https://bugs.python.org/16800">Issue #16800</a>: tempfile.gettempdir() no longer left temporary files when
the disk is full.  Original patch by Amir Szekely.</li>
<li><a class="reference external" href="https://bugs.python.org/17192">Issue #17192</a>: Import libffi-3.0.12.</li>
<li><a class="reference external" href="https://bugs.python.org/16564">Issue #16564</a>: Fixed regression relative to Python2 in the operation of
email.encoders.encode_7or8bit when used with binary data.</li>
<li><a class="reference external" href="https://bugs.python.org/17052">Issue #17052</a>: unittest discovery should use self.testLoader.</li>
<li><a class="reference external" href="https://bugs.python.org/4591">Issue #4591</a>: Uid and gid values larger than 2**31 are supported now.</li>
<li><a class="reference external" href="https://bugs.python.org/17141">Issue #17141</a>: random.vonmisesvariate() no longer hangs for large kappas.</li>
<li><a class="reference external" href="https://bugs.python.org/17149">Issue #17149</a>: Fix random.vonmisesvariate to always return results in
[0, 2*math.pi].</li>
<li><a class="reference external" href="https://bugs.python.org/1470548">Issue #1470548</a>: XMLGenerator now works with binary output streams.</li>
<li><a class="reference external" href="https://bugs.python.org/6975">Issue #6975</a>: os.path.realpath() now correctly resolves multiple nested
symlinks on POSIX platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/13773">Issue #13773</a>: sqlite3.connect() gets a new <tt class="xref py py-obj docutils literal"><span class="pre">uri</span></tt> parameter to pass the
filename as a URI, allowing to pass custom options.</li>
<li><a class="reference external" href="https://bugs.python.org/16564">Issue #16564</a>: Fixed regression relative to Python2 in the operation of
email.encoders.encode_noop when used with binary data.</li>
<li><a class="reference external" href="https://bugs.python.org/10355">Issue #10355</a>: The mode, name, encoding and newlines properties now work on
SpooledTemporaryFile objects even when they have not yet rolled over.
Obsolete method xreadline (which has never worked in Python 3) has been
removed.</li>
<li><a class="reference external" href="https://bugs.python.org/16686">Issue #16686</a>: Fixed a lot of bugs in audioop module.  Fixed crashes in
avgpp(), maxpp() and ratecv().  Fixed an integer overflow in add(), bias(),
and ratecv().  reverse(), lin2lin() and ratecv() no more lose precision for
32-bit samples.  max() and rms() no more returns a negative result and
various other functions now work correctly with 32-bit sample -0x80000000.</li>
<li><a class="reference external" href="https://bugs.python.org/17073">Issue #17073</a>: Fix some integer overflows in sqlite3 module.</li>
<li><a class="reference external" href="https://bugs.python.org/16723">Issue #16723</a>: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.</li>
<li><a class="reference external" href="https://bugs.python.org/15359">Issue #15359</a>: Add CAN_BCM protocol support to the socket module. Patch by
Brian Thorne.</li>
<li><a class="reference external" href="https://bugs.python.org/16948">Issue #16948</a>: Fix quoted printable body encoding for non-latin1 character
sets in the email package.</li>
<li><a class="reference external" href="https://bugs.python.org/16811">Issue #16811</a>: Fix folding of headers with no value in the provisional email
policies.</li>
<li><a class="reference external" href="https://bugs.python.org/17132">Issue #17132</a>: Update symbol for &#8220;yield from&#8221; grammar changes.</li>
<li><a class="reference external" href="https://bugs.python.org/17076">Issue #17076</a>: Make copying of xattrs more tolerant of missing FS support.
Patch by Thomas Wouters.</li>
<li><a class="reference external" href="https://bugs.python.org/17089">Issue #17089</a>: Expat parser now correctly works with string input when the
internal XML encoding is not UTF-8 or US-ASCII.  It also now accepts bytes
and strings larger than 2 GiB.</li>
<li><a class="reference external" href="https://bugs.python.org/6083">Issue #6083</a>: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.</li>
<li><a class="reference external" href="https://bugs.python.org/5289">Issue #5289</a>: Fix ctypes.util.find_library on Solaris.</li>
<li><a class="reference external" href="https://bugs.python.org/17106">Issue #17106</a>: Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).</li>
<li><a class="reference external" href="https://bugs.python.org/17015">Issue #17015</a>: When it has a spec, a Mock object now inspects its signature
when matching calls, so that arguments can be matched positionally or
by name.</li>
<li><a class="reference external" href="https://bugs.python.org/15633">Issue #15633</a>: httplib.HTTPResponse is now mark closed when the server
sends less than the advertised Content-Length.</li>
<li><a class="reference external" href="https://bugs.python.org/12268">Issue #12268</a>: The io module file object write methods no longer abort early
when one of its write system calls is interrupted (EINTR).</li>
<li><a class="reference external" href="https://bugs.python.org/6972">Issue #6972</a>: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.</li>
<li><a class="reference external" href="https://bugs.python.org/4844">Issue #4844</a>: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete &#8220;End of Central Directory&#8221; record.  Original patch by Guilherme
Polo and Alan McIntyre.</li>
<li><a class="reference external" href="https://bugs.python.org/17071">Issue #17071</a>: Signature.bind() now works when one of the keyword arguments
is named <tt class="docutils literal"><span class="pre">self</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/12004">Issue #12004</a>: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.</li>
<li>Have py_compile use importlib as much as possible to avoid code duplication.
Code now raises FileExistsError if the file path to be used for the
byte-compiled file is a symlink or non-regular file as a warning that import
will not keep the file path type if it writes to that path.</li>
<li><a class="reference external" href="https://bugs.python.org/16972">Issue #16972</a>: Have site.addpackage() consider already known paths even when
none are explicitly passed in. Bug report and fix by Kirill.</li>
<li><a class="reference external" href="https://bugs.python.org/1602133">Issue #1602133</a>: on Mac OS X a shared library build (<tt class="docutils literal"><span class="pre">--enable-shared</span></tt>)
now fills the <tt class="docutils literal"><span class="pre">os.environ</span></tt> variable correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/15505">Issue #15505</a>: <a class="reference internal" href="../library/unittest.html#unittest.installHandler" title="unittest.installHandler"><tt class="xref py py-obj docutils literal"><span class="pre">unittest.installHandler</span></tt></a> no longer assumes SIGINT handler is
set to a callable object.</li>
<li><a class="reference external" href="https://bugs.python.org/13454">Issue #13454</a>: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.</li>
<li><a class="reference external" href="https://bugs.python.org/12411">Issue #12411</a>: Fix to cgi.parse_multipart to correctly use bytes boundaries
and bytes data. Patch by Jonas Wagner.</li>
<li><a class="reference external" href="https://bugs.python.org/16957">Issue #16957</a>: shutil.which() no longer searches a bare file name in the
current directory on Unix and no longer searches a relative file path with
a directory part in PATH directories.  Patch by Thomas Kluyver.</li>
<li><a class="reference external" href="https://bugs.python.org/1159051">Issue #1159051</a>: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.</li>
<li><a class="reference external" href="https://bugs.python.org/16993">Issue #16993</a>: shutil.which() now preserves the case of the path and extension
on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/16992">Issue #16992</a>: On Windows in signal.set_wakeup_fd, validate the file
descriptor argument.</li>
<li><a class="reference external" href="https://bugs.python.org/16422">Issue #16422</a>: For compatibility with the Python version, the C version of
decimal now uses strings instead of integers for rounding mode constants.</li>
<li><a class="reference external" href="https://bugs.python.org/15861">Issue #15861</a>: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.</li>
<li><a class="reference external" href="https://bugs.python.org/9720">Issue #9720</a>: zipfile now writes correct local headers for files larger than
4 GiB.</li>
<li><a class="reference external" href="https://bugs.python.org/16955">Issue #16955</a>: Fix the poll() method for multiprocessing&#8217;s socket
connections on Windows.</li>
<li>SSLContext.load_dh_params() now properly closes the input file.</li>
<li><a class="reference external" href="https://bugs.python.org/15031">Issue #15031</a>: Refactor some .pyc management code to cut down on code
duplication. Thanks to Ronan Lamy for the report and taking an initial stab
at the problem.</li>
<li><a class="reference external" href="https://bugs.python.org/16398">Issue #16398</a>: Optimize deque.rotate() so that it only moves pointers
and doesn&#8217;t touch the underlying data with increfs and decrefs.</li>
<li><a class="reference external" href="https://bugs.python.org/16900">Issue #16900</a>: Issue a ResourceWarning when an ssl socket is left unclosed.</li>
<li><a class="reference external" href="https://bugs.python.org/13899">Issue #13899</a>: A, Z, and B now correctly match the A, Z, and B literals
when used inside character classes (e.g. &#8216;[A]&#8217;).  Patch by Matthew Barnett.</li>
<li><a class="reference external" href="https://bugs.python.org/15545">Issue #15545</a>: Fix regression in sqlite3&#8217;s iterdump method where it was
failing if the connection used a row factory (such as sqlite3.Row) that
produced unsortable objects. (Regression was introduced by fix for 9750).</li>
<li>fcntl: add F_DUPFD_CLOEXEC constant, available on Linux 2.6.24+.</li>
<li><a class="reference external" href="https://bugs.python.org/15972">Issue #15972</a>: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.</li>
<li><a class="reference external" href="https://bugs.python.org/8109">Issue #8109</a>: The ssl module now has support for server-side SNI, thanks
to a <tt class="xref py py-meth docutils literal"><span class="pre">SSLContext.set_servername_callback()</span></tt> method.  Patch by Daniel
Black.</li>
<li><a class="reference external" href="https://bugs.python.org/16860">Issue #16860</a>: In tempfile, use O_CLOEXEC when available to set the
close-on-exec flag atomically.</li>
<li><a class="reference external" href="https://bugs.python.org/16674">Issue #16674</a>: random.getrandbits() is now 20-40% faster for small integers.</li>
<li><a class="reference external" href="https://bugs.python.org/16009">Issue #16009</a>: JSON error messages now provide more information.</li>
<li><a class="reference external" href="https://bugs.python.org/16828">Issue #16828</a>: Fix error incorrectly raised by bz2.compress(b&#8217;&#8216;) and
bz2.BZ2Compressor.compress(b&#8217;&#8216;). Initial patch by Martin Packman.</li>
<li><a class="reference external" href="https://bugs.python.org/16833">Issue #16833</a>: In http.client.HTTPConnection, do not concatenate the request
headers and body when the payload exceeds 16 KB, since it can consume more
memory for no benefit.  Patch by Benno Leslie.</li>
<li><a class="reference external" href="https://bugs.python.org/16541">Issue #16541</a>: tk_setPalette() now works with keyword arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/16820">Issue #16820</a>: In configparser, <tt class="xref py py-obj docutils literal"><span class="pre">parser.popitem()</span></tt> no longer raises ValueError.
This makes <tt class="xref py py-obj docutils literal"><span class="pre">parser.clean()</span></tt> work correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/16820">Issue #16820</a>: In configparser, <tt class="docutils literal"><span class="pre">parser['section']</span> <span class="pre">=</span> <span class="pre">{}</span></tt> now preserves
section order within the parser. This makes <tt class="xref py py-obj docutils literal"><span class="pre">parser.update()</span></tt> preserve section
order as well.</li>
<li><a class="reference external" href="https://bugs.python.org/16820">Issue #16820</a>: In configparser, <tt class="docutils literal"><span class="pre">parser['DEFAULT']</span> <span class="pre">=</span> <span class="pre">{}</span></tt> now correctly
clears previous values stored in the default section. Same goes for
<tt class="docutils literal"><span class="pre">parser.update({'DEFAULT':</span> <span class="pre">{}})</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/9586">Issue #9586</a>: Redefine SEM_FAILED on MacOSX to keep compiler happy.</li>
<li><a class="reference external" href="https://bugs.python.org/16787">Issue #16787</a>: Increase asyncore and asynchat default output buffers size, to
decrease CPU usage and increase throughput.</li>
<li><a class="reference external" href="https://bugs.python.org/10527">Issue #10527</a>: make multiprocessing use poll() instead of select() if available.</li>
<li><a class="reference external" href="https://bugs.python.org/16688">Issue #16688</a>: Now regexes contained backreferences correctly work with
non-ASCII strings.  Patch by Matthew Barnett.</li>
<li><a class="reference external" href="https://bugs.python.org/16486">Issue #16486</a>: Make aifc files act as context managers.</li>
<li><a class="reference external" href="https://bugs.python.org/16485">Issue #16485</a>: Now file descriptors are closed if file header patching failed
on closing an aifc file.</li>
<li><a class="reference external" href="https://bugs.python.org/16640">Issue #16640</a>: Run less code under a lock in sched module.</li>
<li><a class="reference external" href="https://bugs.python.org/16165">Issue #16165</a>: sched.scheduler.run() no longer blocks a scheduler for other
threads.</li>
<li><a class="reference external" href="https://bugs.python.org/16641">Issue #16641</a>: Default values of sched.scheduler.enter() are no longer
modifiable.</li>
<li><a class="reference external" href="https://bugs.python.org/16618">Issue #16618</a>: Make glob.glob match consistently across strings and bytes
regarding leading dots.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16788">Issue #16788</a>: Add samestat to Lib/ntpath.py</li>
<li><a class="reference external" href="https://bugs.python.org/16713">Issue #16713</a>: Parsing of &#8216;tel&#8217; urls using urlparse separates params from
path.</li>
<li><a class="reference external" href="https://bugs.python.org/16443">Issue #16443</a>: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.</li>
<li><a class="reference external" href="https://bugs.python.org/15701">Issue #15701</a>: Fix HTTPError info method call to return the headers information.</li>
<li><a class="reference external" href="https://bugs.python.org/16752">Issue #16752</a>: Add a missing import to modulefinder. Patch by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/16646">Issue #16646</a>: ftplib.FTP.makeport() might lose socket error details.
(patch by Serhiy Storchaka)</li>
<li><a class="reference external" href="https://bugs.python.org/16626">Issue #16626</a>: Fix infinite recursion in glob.glob() on Windows when the
pattern contains a wildcard in the drive or UNC path.  Patch by Serhiy
Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15783">Issue #15783</a>: Except for the number methods, the C version of decimal now
supports all None default values present in decimal.py. These values were
largely undocumented.</li>
<li><a class="reference external" href="https://bugs.python.org/11175">Issue #11175</a>: argparse.FileType now accepts encoding and errors
arguments. Patch by Lucas Maystre.</li>
<li><a class="reference external" href="https://bugs.python.org/16488">Issue #16488</a>: epoll() objects now support the <tt class="xref py py-obj docutils literal"><span class="pre">with</span></tt> statement.  Patch
by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16298">Issue #16298</a>: In HTTPResponse.read(), close the socket when there is no
Content-Length and the incoming stream is finished.  Patch by Eran
Rundstein.</li>
<li><a class="reference external" href="https://bugs.python.org/16049">Issue #16049</a>: Add abc.ABC class to enable the use of inheritance to create
ABCs, rather than the more cumbersome metaclass=ABCMeta. Patch by Bruno
Dupuis.</li>
<li>Expose the TCP_FASTOPEN and MSG_FASTOPEN flags in socket when they&#8217;re
available.</li>
<li><a class="reference external" href="https://bugs.python.org/15701">Issue #15701</a>: Add a .headers attribute to urllib.error.HTTPError. Patch
contributed by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/15872">Issue #15872</a>: Fix 3.3 regression introduced by the new fd-based shutil.rmtree
that caused it to not ignore certain errors when ignore_errors was set.
Patch by Alessandro Moura and Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16248">Issue #16248</a>: Disable code execution from the user&#8217;s home directory by
tkinter when the -E flag is passed to Python.  Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/13390">Issue #13390</a>: New function <a class="reference internal" href="../library/sys.html#sys.getallocatedblocks" title="sys.getallocatedblocks"><tt class="xref py py-func docutils literal"><span class="pre">sys.getallocatedblocks()</span></tt></a> returns the
number of memory blocks currently allocated.</li>
<li><a class="reference external" href="https://bugs.python.org/16628">Issue #16628</a>: Fix a memory leak in ctypes.resize().</li>
<li><a class="reference external" href="https://bugs.python.org/13614">Issue #13614</a>: Fix setup.py register failure with invalid rst in description.
Patch by Julien Courteau and Pierre Paul Lefebvre.</li>
<li><a class="reference external" href="https://bugs.python.org/13512">Issue #13512</a>: Create ~/.pypirc securely (CVE-2011-4944).  Initial patch by
Philip Jenvey, tested by Mageia and Debian.</li>
<li><a class="reference external" href="https://bugs.python.org/7719">Issue #7719</a>: Make distutils ignore <tt class="docutils literal"><span class="pre">.nfs*</span></tt> files instead of choking later
on.  Initial patch by SilentGhost and Jeff Ramnani.</li>
<li><a class="reference external" href="https://bugs.python.org/13120">Issue #13120</a>: Allow to call pdb.set_trace() from thread.
Patch by Ilya Sandler.</li>
<li><a class="reference external" href="https://bugs.python.org/16585">Issue #16585</a>: Make CJK encoders support error handlers that return bytes per
PEP 383.</li>
<li><a class="reference external" href="https://bugs.python.org/10182">Issue #10182</a>: The re module doesn&#8217;t truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16333">Issue #16333</a>: use (&#8221;,&#8221;, &#8221;: &#8221;) as default separator in json when indent is
specified, to avoid trailing whitespace.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16573">Issue #16573</a>: In 2to3, treat enumerate() like a consuming call, so superfluous
list() calls aren&#8217;t added to filter(), map(), and zip() which are directly
passed enumerate().</li>
<li><a class="reference external" href="https://bugs.python.org/16464">Issue #16464</a>: Reset the Content-Length header when a urllib Request is reused
with new data.</li>
<li><a class="reference external" href="https://bugs.python.org/12848">Issue #12848</a>: The pure Python pickle implementation now treats object
lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16423">Issue #16423</a>: urllib.request now has support for <tt class="docutils literal"><span class="pre">data:</span></tt> URLs.  Patch by
Mathias Panzenböck.</li>
<li><a class="reference external" href="https://bugs.python.org/4473">Issue #4473</a>: Add a POP3.stls() to switch a clear-text POP3 session into
an encrypted POP3 session, on supported servers.  Patch by Lorenzo Catucci.</li>
<li><a class="reference external" href="https://bugs.python.org/4473">Issue #4473</a>: Add a POP3.capa() method to query the capabilities advertised
by the POP3 server.  Patch by Lorenzo Catucci.</li>
<li><a class="reference external" href="https://bugs.python.org/4473">Issue #4473</a>: Ensure the socket is shutdown cleanly in POP3.close().
Patch by Lorenzo Catucci.</li>
<li><a class="reference external" href="https://bugs.python.org/16522">Issue #16522</a>: added FAIL_FAST flag to doctest.</li>
<li><a class="reference external" href="https://bugs.python.org/15627">Issue #15627</a>: Add the importlib.abc.InspectLoader.source_to_code() method.</li>
<li><a class="reference external" href="https://bugs.python.org/16408">Issue #16408</a>: Fix file descriptors not being closed in error conditions
in the zipfile module.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/14631">Issue #14631</a>: Add a new <a class="reference internal" href="../library/weakref.html#weakref.WeakMethod" title="weakref.WeakMethod"><tt class="xref py py-class docutils literal"><span class="pre">weakref.WeakMethod</span></tt></a> to simulate weak
references to bound methods.</li>
<li><a class="reference external" href="https://bugs.python.org/16469">Issue #16469</a>: Fix exceptions from float -&gt; Fraction and Decimal -&gt; Fraction
conversions for special values to be consistent with those for float -&gt; int
and Decimal -&gt; int.  Patch by Alexey Kachayev.</li>
<li><a class="reference external" href="https://bugs.python.org/16481">Issue #16481</a>: multiprocessing no longer leaks process handles on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/12428">Issue #12428</a>: Add a pure Python implementation of functools.partial().
Patch by Brian Thorne.</li>
<li><a class="reference external" href="https://bugs.python.org/16140">Issue #16140</a>: The subprocess module no longer double closes its child
subprocess.PIPE parent file descriptors on child error prior to exec().</li>
<li>Remove a bare print to stdout from the subprocess module that could have
happened if the child process wrote garbage to its pre-exec error pipe.</li>
<li>The subprocess module now raises its own SubprocessError instead of a
RuntimeError in various error situations which should not normally happen.</li>
<li><a class="reference external" href="https://bugs.python.org/16327">Issue #16327</a>: The subprocess module no longer leaks file descriptors
used for stdin/stdout/stderr pipes to the child when fork() fails.</li>
<li><a class="reference external" href="https://bugs.python.org/14396">Issue #14396</a>: Handle the odd rare case of waitpid returning 0 when not
expected in subprocess.Popen.wait().</li>
<li><a class="reference external" href="https://bugs.python.org/16411">Issue #16411</a>: Fix a bug where zlib.decompressobj().flush() might try to access
previously-freed memory. Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16357">Issue #16357</a>: fix calling accept() on a SSLSocket created through
SSLContext.wrap_socket().  Original patch by Jeff McNeil.</li>
<li><a class="reference external" href="https://bugs.python.org/16409">Issue #16409</a>: The reporthook callback made by the legacy
urllib.request.urlretrieve API now properly supplies a constant non-zero
block_size as it did in Python 3.2 and 2.7.  This matches the behavior of
urllib.request.URLopener.retrieve.</li>
<li><a class="reference external" href="https://bugs.python.org/16431">Issue #16431</a>: Use the type information when constructing a Decimal subtype
from a Decimal argument.</li>
<li><a class="reference external" href="https://bugs.python.org/15641">Issue #15641</a>: Clean up deprecated classes from importlib
Patch by Taras Lyapun.</li>
<li><a class="reference external" href="https://bugs.python.org/16350">Issue #16350</a>: zlib.decompressobj().decompress() now accumulates data from
successive calls after EOF in unused_data, instead of only saving the argument
to the last call. decompressobj().flush() now correctly sets unused_data and
unconsumed_tail. A bug in the handling of MemoryError when setting the
unconsumed_tail attribute has also been fixed. Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/12759">Issue #12759</a>: sre_parse now raises a proper error when the name of the group
is missing.  Initial patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16152">Issue #16152</a>: fix tokenize to ignore whitespace at the end of the code when
no newline is found.  Patch by Ned Batchelder.</li>
<li><a class="reference external" href="https://bugs.python.org/16284">Issue #16284</a>: Prevent keeping unnecessary references to worker functions
in concurrent.futures ThreadPoolExecutor.</li>
<li><a class="reference external" href="https://bugs.python.org/16230">Issue #16230</a>: Fix a crash in select.select() when one the lists changes
size while iterated on.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16228">Issue #16228</a>: Fix a crash in the json module where a list changes size
while it is being encoded.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16351">Issue #16351</a>: New function gc.get_stats() returns per-generation collection
statistics.</li>
<li><a class="reference external" href="https://bugs.python.org/14897">Issue #14897</a>: Enhance error messages of struct.pack and
struct.pack_into. Patch by Matti Mäki.</li>
<li><a class="reference external" href="https://bugs.python.org/16316">Issue #16316</a>: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/12890">Issue #12890</a>: cgitb no longer prints spurious &lt;p&gt; tags in text
mode when the logdir option is specified.</li>
<li><a class="reference external" href="https://bugs.python.org/16307">Issue #16307</a>: Fix multiprocessing.Pool.map_async not calling its callbacks.
Patch by Janne Karila.</li>
<li><a class="reference external" href="https://bugs.python.org/16305">Issue #16305</a>: Fix a segmentation fault occurring when interrupting
math.factorial.</li>
<li><a class="reference external" href="https://bugs.python.org/16116">Issue #16116</a>: Fix include and library paths to be correct when building C
extensions in venvs.</li>
<li><a class="reference external" href="https://bugs.python.org/16245">Issue #16245</a>: Fix the value of a few entities in html.entities.html5.</li>
<li><a class="reference external" href="https://bugs.python.org/16301">Issue #16301</a>: Fix the localhost verification in urllib/request.py for <a class="reference external" href="file://">file://</a>
urls.</li>
<li><a class="reference external" href="https://bugs.python.org/16250">Issue #16250</a>: Fix the invocations of URLError which had misplaced filename
attribute for exception.</li>
<li><a class="reference external" href="https://bugs.python.org/10836">Issue #10836</a>: Fix exception raised when file not found in urlretrieve
Initial patch by Ezio Melotti.</li>
<li><a class="reference external" href="https://bugs.python.org/14398">Issue #14398</a>: Fix size truncation and overflow bugs in the bz2 module.</li>
<li><a class="reference external" href="https://bugs.python.org/12692">Issue #12692</a>: Fix resource leak in urllib.request when talking to an HTTP
server that does not include a <tt class="docutils literal"><span class="pre">Connection:</span> <span class="pre">close</span></tt> header in its responses.</li>
<li><a class="reference external" href="https://bugs.python.org/12034">Issue #12034</a>: Fix bogus caching of result in check_GetFinalPathNameByHandle.
Patch by Atsuo Ishimoto.</li>
<li>Improve performance of <a class="reference internal" href="../library/lzma.html#lzma.LZMAFile" title="lzma.LZMAFile"><tt class="xref py py-obj docutils literal"><span class="pre">lzma.LZMAFile</span></tt></a> (see also <a class="reference external" href="https://bugs.python.org/16034">issue #16034</a>).</li>
<li><a class="reference external" href="https://bugs.python.org/16220">Issue #16220</a>: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.</li>
<li><a class="reference external" href="https://bugs.python.org/16270">Issue #16270</a>: urllib may hang when used for retrieving files via FTP by using
a context manager.  Patch by Giampaolo Rodola&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/16461">Issue #16461</a>: Wave library should be able to deal with 4GB wav files,
and sample rate of 44100 Hz.</li>
<li><a class="reference external" href="https://bugs.python.org/16176">Issue #16176</a>: Properly identify Windows 8 via platform.platform()</li>
<li><a class="reference external" href="https://bugs.python.org/16088">Issue #16088</a>: BaseHTTPRequestHandler&#8217;s send_error method includes a
Content-Length header in it&#8217;s response now. Patch by Antoine Pitrou.</li>
<li><a class="reference external" href="https://bugs.python.org/16114">Issue #16114</a>: The subprocess module no longer provides a misleading error
message stating that args[0] did not exist when either the cwd or executable
keyword arguments specified a path that did not exist.</li>
<li><a class="reference external" href="https://bugs.python.org/16169">Issue #16169</a>: Fix ctypes.WinError()&#8217;s confusion between errno and winerror.</li>
<li><a class="reference external" href="https://bugs.python.org/16110">Issue #16110</a>: logging.fileConfig now accepts a pre-initialised ConfigParser
instance.</li>
<li><a class="reference external" href="https://bugs.python.org/1492704">Issue #1492704</a>: shutil.copyfile() raises a distinct SameFileError now if
source and destination are the same file. Patch by Atsuo Ishimoto.</li>
<li><a class="reference external" href="https://bugs.python.org/13896">Issue #13896</a>: Make shelf instances work with &#8216;with&#8217; as context managers.
Original patch by Filip Gruszczyński.</li>
<li><a class="reference external" href="https://bugs.python.org/15417">Issue #15417</a>: Add support for csh and fish in venv activation scripts.</li>
<li><a class="reference external" href="https://bugs.python.org/14377">Issue #14377</a>: ElementTree.write and some of the module-level functions have
a new parameter - <em>short_empty_elements</em>. It controls how elements with no
contents are emitted.</li>
<li><a class="reference external" href="https://bugs.python.org/16089">Issue #16089</a>: Allow ElementTree.TreeBuilder to work again with a non-Element
element_factory (fixes a regression in SimpleTAL).</li>
<li><a class="reference external" href="https://bugs.python.org/9650">Issue #9650</a>: List commonly used format codes in time.strftime and
time.strptime docsttings.  Original patch by Mike Hoy.</li>
<li><a class="reference external" href="https://bugs.python.org/15452">Issue #15452</a>: logging configuration socket listener now has a verify option
that allows an application to apply a verification function to the
received configuration data before it is acted upon.</li>
<li><a class="reference external" href="https://bugs.python.org/16034">Issue #16034</a>: Fix performance regressions in the new <a class="reference internal" href="../library/bz2.html#bz2.BZ2File" title="bz2.BZ2File"><tt class="xref py py-obj docutils literal"><span class="pre">bz2.BZ2File</span></tt></a>
implementation.  Initial patch by Serhiy Storchaka.</li>
<li><a class="reference internal" href="../library/pty.html#pty.spawn" title="pty.spawn"><tt class="xref py py-obj docutils literal"><span class="pre">pty.spawn()</span></tt></a> now returns the child process status returned by <a class="reference internal" href="../library/os.html#os.waitpid" title="os.waitpid"><tt class="xref py py-obj docutils literal"><span class="pre">os.waitpid()</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/15756">Issue #15756</a>: <tt class="xref py py-obj docutils literal"><span class="pre">subprocess.poll()</span></tt> now properly handles <a class="reference internal" href="../library/errno.html#errno.ECHILD" title="errno.ECHILD"><tt class="xref py py-obj docutils literal"><span class="pre">errno.ECHILD</span></tt></a> to
return a returncode of 0 when the child has already exited or cannot be waited
on.</li>
<li><a class="reference external" href="https://bugs.python.org/15323">Issue #15323</a>: Improve failure message of <tt class="xref py py-obj docutils literal"><span class="pre">Mock.assert_called_once_with()</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/16064">Issue #16064</a>: <tt class="docutils literal"><span class="pre">unittest</span> <span class="pre">-m</span></tt> claims executable is &#8220;python&#8221;, not &#8220;python3&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/12376">Issue #12376</a>: Pass on parameters in <tt class="xref py py-obj docutils literal"><span class="pre">TextTestResult.__init__()</span></tt> super call.</li>
<li><a class="reference external" href="https://bugs.python.org/15222">Issue #15222</a>: Insert blank line after each message in mbox mailboxes.</li>
<li><a class="reference external" href="https://bugs.python.org/16013">Issue #16013</a>: Fix <tt class="xref py py-obj docutils literal"><span class="pre">csv.Reader</span></tt> parsing issue with ending quote characters.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15421">Issue #15421</a>: Fix an OverflowError in <tt class="xref py py-obj docutils literal"><span class="pre">Calendar.itermonthdates()</span></tt> after
<a class="reference internal" href="../library/datetime.html#datetime.MAXYEAR" title="datetime.MAXYEAR"><tt class="xref py py-obj docutils literal"><span class="pre">datetime.MAXYEAR</span></tt></a>.  Patch by Cédric Krier.</li>
<li><a class="reference external" href="https://bugs.python.org/16112">Issue #16112</a>: platform.architecture does not correctly escape argument to
/usr/bin/file.  Patch by David Benjamin.</li>
<li><a class="reference external" href="https://bugs.python.org/15970">Issue #15970</a>: <a class="reference internal" href="../library/xml.etree.elementtree.html#module-xml.etree.ElementTree" title="xml.etree.ElementTree: Implementation of the ElementTree API."><tt class="xref py py-obj docutils literal"><span class="pre">xml.etree.ElementTree</span></tt></a> now serializes correctly the empty HTML
elements &#8216;meta&#8217; and &#8216;param&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/15842">Issue #15842</a>: The <tt class="xref py py-obj docutils literal"><span class="pre">SocketIO.{readable,writable,seekable}</span></tt> methods now raise
ValueError when the file-like object is closed.  Patch by Alessandro Moura.</li>
<li><a class="reference external" href="https://bugs.python.org/15876">Issue #15876</a>: Fix a refleak in the <a class="reference internal" href="../library/curses.html#module-curses" title="curses: An interface to the curses library, providing portable terminal handling. (Unix)"><tt class="xref py py-obj docutils literal"><span class="pre">curses</span></tt></a> module: window.encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/15881">Issue #15881</a>: Fix <a class="reference internal" href="../library/atexit.html#module-atexit" title="atexit: Register and execute cleanup functions."><tt class="xref py py-obj docutils literal"><span class="pre">atexit</span></tt></a> hook in <a class="reference internal" href="../library/multiprocessing.html#module-multiprocessing" title="multiprocessing: Process-based parallelism."><tt class="xref py py-obj docutils literal"><span class="pre">multiprocessing</span></tt></a>.  Original patch by Chris
McDonough.</li>
<li><a class="reference external" href="https://bugs.python.org/15841">Issue #15841</a>: The readable(), writable() and seekable() methods of
<a class="reference internal" href="../library/io.html#io.BytesIO" title="io.BytesIO"><tt class="xref py py-obj docutils literal"><span class="pre">io.BytesIO</span></tt></a> and <a class="reference internal" href="../library/io.html#io.StringIO" title="io.StringIO"><tt class="xref py py-obj docutils literal"><span class="pre">io.StringIO</span></tt></a> objects now raise ValueError when the object
has been closed.  Patch by Alessandro Moura.</li>
<li><a class="reference external" href="https://bugs.python.org/15447">Issue #15447</a>: Use <a class="reference internal" href="../library/subprocess.html#subprocess.DEVNULL" title="subprocess.DEVNULL"><tt class="xref py py-obj docutils literal"><span class="pre">subprocess.DEVNULL</span></tt></a> in webbrowser, instead of opening
<a class="reference internal" href="../library/os.html#os.devnull" title="os.devnull"><tt class="xref py py-obj docutils literal"><span class="pre">os.devnull</span></tt></a> explicitly and leaving it open.</li>
<li><a class="reference external" href="https://bugs.python.org/15509">Issue #15509</a>: <tt class="xref py py-obj docutils literal"><span class="pre">webbrowser.UnixBrowser</span></tt> no longer passes empty arguments to
Popen when <tt class="docutils literal"><span class="pre">%action</span></tt> substitutions produce empty strings.</li>
<li><a class="reference external" href="https://bugs.python.org/12776">Issue #12776</a>, <a class="reference external" href="https://bugs.python.org/11839">issue #11839</a>: Call <a class="reference internal" href="../library/argparse.html#module-argparse" title="argparse: Command-line option and argument parsing library."><tt class="xref py py-obj docutils literal"><span class="pre">argparse</span></tt></a> type function (specified by
add_argument) only once. Before, the type function was called twice in the
case where the default was specified and the argument was given as well.  This
was especially problematic for the FileType type, as a default file would
always be opened, even if a file argument was specified on the command line.</li>
<li><a class="reference external" href="https://bugs.python.org/15906">Issue #15906</a>: Fix a regression in argparse caused by the preceding change,
when <tt class="docutils literal"><span class="pre">action='append'</span></tt>, <tt class="docutils literal"><span class="pre">type='str'</span></tt> and <tt class="docutils literal"><span class="pre">default=[]</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/16113">Issue #16113</a>: Added sha3 module based on the Keccak reference implementation
3.2. The <a class="reference internal" href="../library/hashlib.html#module-hashlib" title="hashlib: Secure hash and message digest algorithms."><tt class="xref py py-obj docutils literal"><span class="pre">hashlib</span></tt></a> module has four additional hash algorithms: <tt class="xref py py-obj docutils literal"><span class="pre">sha3_224</span></tt>,
<tt class="xref py py-obj docutils literal"><span class="pre">sha3_256</span></tt>, <tt class="xref py py-obj docutils literal"><span class="pre">sha3_384</span></tt> and <tt class="xref py py-obj docutils literal"><span class="pre">sha3_512</span></tt>. As part of the patch some common
code was moved from _hashopenssl.c to hashlib.h.</li>
<li>ctypes.call_commethod was removed, since its only usage was in the defunct
samples directory.</li>
<li><a class="reference external" href="https://bugs.python.org/16692">Issue #16692</a>: Added TLSv1.1 and TLSv1.2 support for the ssl modules.</li>
<li><a class="reference external" href="https://bugs.python.org/16832">Issue #16832</a>: add abc.get_cache_token() to expose cache validity checking
support in ABCMeta.</li>
</ul>
</div>
<div class="section" id="id88">
<h3>IDLE<a class="headerlink" href="#id88" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18429">Issue #18429</a>: Format / Format Paragraph, now works when comment blocks
are selected. As with text blocks, this works best when the selection
only includes complete lines.</li>
<li><a class="reference external" href="https://bugs.python.org/18226">Issue #18226</a>: Add docstrings and unittests for FormatParagraph.py.
Original patches by Todd Rovito and Phil Webster.</li>
<li><a class="reference external" href="https://bugs.python.org/18279">Issue #18279</a>: Format - Strip trailing whitespace no longer marks a file as
changed when it has not been changed. This fix followed the addition of a
test file originally written by Phil Webster (the issue&#8217;s main goal).</li>
<li><a class="reference external" href="https://bugs.python.org/7136">Issue #7136</a>: In the Idle File menu, &#8220;New Window&#8221; is renamed &#8220;New File&#8221;.
Patch by Tal Einat, Roget Serwy, and Todd Rovito.</li>
<li>Remove dead imports of imp.</li>
<li><a class="reference external" href="https://bugs.python.org/18196">Issue #18196</a>: Avoid displaying spurious SystemExit tracebacks.</li>
<li><a class="reference external" href="https://bugs.python.org/5492">Issue #5492</a>: Avoid traceback when exiting IDLE caused by a race condition.</li>
<li><a class="reference external" href="https://bugs.python.org/17511">Issue #17511</a>: Keep IDLE find dialog open after clicking &#8220;Find Next&#8221;.
Original patch by Sarah K.</li>
<li><a class="reference external" href="https://bugs.python.org/18055">Issue #18055</a>: Move IDLE off of imp and on to importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/15392">Issue #15392</a>: Create a unittest framework for IDLE.
Initial patch by Rajagopalasarma Jayakrishnan.
See Lib/idlelib/idle_test/README.txt for how to run Idle tests.</li>
<li><a class="reference external" href="https://bugs.python.org/14146">Issue #14146</a>: Highlight source line while debugging on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/17838">Issue #17838</a>: Allow sys.stdin to be reassigned.</li>
<li><a class="reference external" href="https://bugs.python.org/13495">Issue #13495</a>: Avoid loading the color delegator twice in IDLE.</li>
<li><a class="reference external" href="https://bugs.python.org/17798">Issue #17798</a>: Allow IDLE to edit new files when specified on command line.</li>
<li><a class="reference external" href="https://bugs.python.org/14735">Issue #14735</a>: Update IDLE docs to omit &#8220;Control-z on Windows&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/17532">Issue #17532</a>: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.</li>
<li><a class="reference external" href="https://bugs.python.org/17585">Issue #17585</a>: Fixed IDLE regression. Now closes when using exit() or quit().</li>
<li><a class="reference external" href="https://bugs.python.org/17657">Issue #17657</a>: Show full Tk version in IDLE&#8217;s about dialog.
Patch by Todd Rovito.</li>
<li><a class="reference external" href="https://bugs.python.org/17613">Issue #17613</a>: Prevent traceback when removing syntax colorizer in IDLE.</li>
<li><a class="reference external" href="https://bugs.python.org/1207589">Issue #1207589</a>: Backwards-compatibility patch for right-click menu in IDLE.</li>
<li><a class="reference external" href="https://bugs.python.org/16887">Issue #16887</a>: IDLE now accepts Cancel in tabify/untabify dialog box.</li>
<li><a class="reference external" href="https://bugs.python.org/17625">Issue #17625</a>: In IDLE, close the replace dialog after it is used.</li>
<li><a class="reference external" href="https://bugs.python.org/14254">Issue #14254</a>: IDLE now handles readline correctly across shell restarts.</li>
<li><a class="reference external" href="https://bugs.python.org/17614">Issue #17614</a>: IDLE no longer raises exception when quickly closing a file.</li>
<li><a class="reference external" href="https://bugs.python.org/6698">Issue #6698</a>: IDLE now opens just an editor window when configured to do so.</li>
<li><a class="reference external" href="https://bugs.python.org/8900">Issue #8900</a>: Using keyboard shortcuts in IDLE to open a file no longer
raises an exception.</li>
<li><a class="reference external" href="https://bugs.python.org/6649">Issue #6649</a>: Fixed missing exit status in IDLE. Patch by Guilherme Polo.</li>
<li><a class="reference external" href="https://bugs.python.org/17114">Issue #17114</a>: IDLE now uses non-strict config parser.</li>
<li><a class="reference external" href="https://bugs.python.org/9290">Issue #9290</a>: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.</li>
<li><a class="reference external" href="https://bugs.python.org/5066">Issue #5066</a>: Update IDLE docs. Patch by Todd Rovito.</li>
<li><a class="reference external" href="https://bugs.python.org/16829">Issue #16829</a>: IDLE printing no longer fails if there are spaces or other
special characters in the file path.</li>
<li><a class="reference external" href="https://bugs.python.org/16491">Issue #16491</a>: IDLE now prints chained exception tracebacks.</li>
<li><a class="reference external" href="https://bugs.python.org/16819">Issue #16819</a>: IDLE method completion now correctly works for bytes literals.</li>
<li><a class="reference external" href="https://bugs.python.org/16504">Issue #16504</a>: IDLE now catches SyntaxErrors raised by tokenizer. Patch by
Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/16511">Issue #16511</a>: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/1207589">Issue #1207589</a>: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.</li>
<li><a class="reference external" href="https://bugs.python.org/16123">Issue #16123</a>: IDLE - deprecate running without a subprocess.
Patch by Roger Serwy.</li>
</ul>
</div>
<div class="section" id="id89">
<h3>Tests<a class="headerlink" href="#id89" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/1666318">Issue #1666318</a>: Add a test that shutil.copytree() retains directory
permissions.  Patch by Catherine Devlin.</li>
<li><a class="reference external" href="https://bugs.python.org/18273">Issue #18273</a>: move the tests in Lib/test/json_tests to Lib/test/test_json
and make them discoverable by unittest.  Patch by Zachary Ware.</li>
<li>Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).</li>
<li><a class="reference external" href="https://bugs.python.org/18396">Issue #18396</a>: Fix spurious test failure in test_signal on Windows when
faulthandler is enabled (Patch by Jeremy Kloth)</li>
<li><a class="reference external" href="https://bugs.python.org/17046">Issue #17046</a>: Fix broken test_executable_without_cwd in test_subprocess.</li>
<li><a class="reference external" href="https://bugs.python.org/15415">Issue #15415</a>: Add new temp_dir() and change_cwd() context managers to
test.support, and refactor temp_cwd() to use them.  Patch by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/15494">Issue #15494</a>: test.support is now a package rather than a module (Initial
patch by Indra Talip)</li>
<li><a class="reference external" href="https://bugs.python.org/17944">Issue #17944</a>: test_zipfile now discoverable and uses subclassing to
generate tests for different compression types.  Fixed a bug with skipping
some tests due to use of exhausted iterators.</li>
<li><a class="reference external" href="https://bugs.python.org/18266">Issue #18266</a>: test_largefile now works with unittest test discovery and
supports running only selected tests.  Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17767">Issue #17767</a>: test_locale now works with unittest test discovery.
Original patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/18375">Issue #18375</a>: Assume &#8211;randomize when &#8211;randseed is used for running the
testsuite.</li>
<li><a class="reference external" href="https://bugs.python.org/11185">Issue #11185</a>: Fix test_wait4 under AIX.  Patch by Sébastien Sablé.</li>
<li><a class="reference external" href="https://bugs.python.org/18207">Issue #18207</a>: Fix test_ssl for some versions of OpenSSL that ignore seconds
in ASN1_TIME fields.</li>
<li><a class="reference external" href="https://bugs.python.org/18094">Issue #18094</a>: test_uuid no longer reports skipped tests as passed.</li>
<li><a class="reference external" href="https://bugs.python.org/17992">Issue #17992</a>: Add timeouts to asyncore and asynchat tests so that they won&#8217;t
accidentally hang.</li>
<li><a class="reference external" href="https://bugs.python.org/17833">Issue #17833</a>: Fix test_gdb failures seen on machines where debug symbols
for glibc are available (seen on PPC64 Linux).</li>
<li><a class="reference external" href="https://bugs.python.org/7855">Issue #7855</a>: Add tests for ctypes/winreg for issues found in IronPython.
Initial patch by Dino Viehland.</li>
<li><a class="reference external" href="https://bugs.python.org/11078">Issue #11078</a>: test___all__ now checks for duplicates in __all__.
Initial patch by R. David Murray.</li>
<li><a class="reference external" href="https://bugs.python.org/17712">Issue #17712</a>: Fix test_gdb failures on Ubuntu 13.04.</li>
<li><a class="reference external" href="https://bugs.python.org/17835">Issue #17835</a>: Fix test_io when the default OS pipe buffer size is larger
than one million bytes.</li>
<li><a class="reference external" href="https://bugs.python.org/17065">Issue #17065</a>: Use process-unique key for winreg tests to avoid failures if
test is run multiple times in parallel (eg: on a buildbot host).</li>
<li><a class="reference external" href="https://bugs.python.org/12820">Issue #12820</a>: add tests for the xml.dom.minicompat module.
Patch by John Chandler and Phil Connell.</li>
<li><a class="reference external" href="https://bugs.python.org/17691">Issue #17691</a>: test_univnewlines now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17790">Issue #17790</a>: test_set now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17789">Issue #17789</a>: test_random now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17779">Issue #17779</a>: test_osx_env now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17766">Issue #17766</a>: test_iterlen now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17690">Issue #17690</a>: test_time now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17692">Issue #17692</a>: test_sqlite now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/11995">Issue #11995</a>: test_pydoc doesn&#8217;t import all sys.path modules anymore.</li>
<li><a class="reference external" href="https://bugs.python.org/17448">Issue #17448</a>: test_sax now skips if there are no xml parsers available
instead of raising an ImportError.</li>
<li><a class="reference external" href="https://bugs.python.org/11420">Issue #11420</a>: make test suite pass with -B/DONTWRITEBYTECODE set.
Initial patch by Thomas Wouters.</li>
<li><a class="reference external" href="https://bugs.python.org/10652">Issue #10652</a>: make tcl/tk tests run after __all__ test, patch by
Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/11963">Issue #11963</a>: remove human verification from test_parser and test_subprocess.</li>
<li><a class="reference external" href="https://bugs.python.org/11732">Issue #11732</a>: add a new suppress_crash_popup() context manager to test.support
that disables crash popups on Windows and use it in test_faulthandler and
test_capi.</li>
<li><a class="reference external" href="https://bugs.python.org/13898">Issue #13898</a>: test_ssl no longer prints a spurious stack trace on Ubuntu.</li>
<li><a class="reference external" href="https://bugs.python.org/17283">Issue #17283</a>: Share code between <tt class="xref py py-obj docutils literal"><span class="pre">__main__.py</span></tt> and <tt class="xref py py-obj docutils literal"><span class="pre">regrtest.py</span></tt> in
<tt class="xref py py-obj docutils literal"><span class="pre">Lib/test</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/17249">Issue #17249</a>: convert a test in test_capi to use unittest and reap threads.</li>
<li><a class="reference external" href="https://bugs.python.org/17107">Issue #17107</a>: Test client-side SNI support in urllib.request thanks to
the new server-side SNI support in the ssl module.  Initial patch by
Daniel Black.</li>
<li><a class="reference external" href="https://bugs.python.org/17041">Issue #17041</a>: Fix testing when Python is configured with the
&#8211;without-doc-strings.</li>
<li><a class="reference external" href="https://bugs.python.org/16923">Issue #16923</a>: Fix ResourceWarnings in test_ssl.</li>
<li><a class="reference external" href="https://bugs.python.org/15539">Issue #15539</a>: Added regression tests for Tools/scripts/pindent.py.</li>
<li><a class="reference external" href="https://bugs.python.org/17479">Issue #17479</a>: test_io now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17066">Issue #17066</a>: test_robotparser now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17334">Issue #17334</a>: test_index now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17333">Issue #17333</a>: test_imaplib now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17082">Issue #17082</a>: test_dbm* now work with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17079">Issue #17079</a>: test_ctypes now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17304">Issue #17304</a>: test_hash now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17303">Issue #17303</a>: test_future* now work with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/17163">Issue #17163</a>: test_file now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16925">Issue #16925</a>: test_configparser now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16918">Issue #16918</a>: test_codecs now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16919">Issue #16919</a>: test_crypt now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16910">Issue #16910</a>: test_bytes, test_unicode, and test_userstring now work with
unittest test discovery.  Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16905">Issue #16905</a>: test_warnings now works with unittest test discovery.
Initial patch by Berker Peksag.</li>
<li><a class="reference external" href="https://bugs.python.org/16898">Issue #16898</a>: test_bufio now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16888">Issue #16888</a>: test_array now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16896">Issue #16896</a>: test_asyncore now works with unittest test discovery.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16897">Issue #16897</a>: test_bisect now works with unittest test discovery.
Initial patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16852">Issue #16852</a>: test_genericpath, test_posixpath, test_ntpath, and test_macpath
now work with unittest test discovery.  Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/16748">Issue #16748</a>: test_heapq now works with unittest test discovery.</li>
<li><a class="reference external" href="https://bugs.python.org/10646">Issue #10646</a>: Tests rearranged for os.samefile/samestat to check for not
just symlinks but also hard links.</li>
<li><a class="reference external" href="https://bugs.python.org/15302">Issue #15302</a>: Switch regrtest from using getopt to using argparse.</li>
<li><a class="reference external" href="https://bugs.python.org/15324">Issue #15324</a>: Fix regrtest parsing of &#8211;fromfile, &#8211;match, and &#8211;randomize
options.</li>
<li><a class="reference external" href="https://bugs.python.org/16702">Issue #16702</a>: test_urllib2_localnet tests now correctly ignores proxies for
localhost tests.</li>
<li><a class="reference external" href="https://bugs.python.org/16664">Issue #16664</a>: Add regression tests for glob&#8217;s behaviour concerning entries
starting with a &#8221;.&#8221;.  Patch by Sebastian Kreft.</li>
<li><a class="reference external" href="https://bugs.python.org/13390">Issue #13390</a>: The <tt class="docutils literal"><span class="pre">-R</span></tt> option to regrtest now also checks for memory
allocation leaks, using <a class="reference internal" href="../library/sys.html#sys.getallocatedblocks" title="sys.getallocatedblocks"><tt class="xref py py-func docutils literal"><span class="pre">sys.getallocatedblocks()</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/16559">Issue #16559</a>: Add more tests for the json module, including some from the
official test suite at json.org.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16661">Issue #16661</a>: Fix the <a class="reference internal" href="../library/os.html#os.getgrouplist" title="os.getgrouplist"><tt class="xref py py-obj docutils literal"><span class="pre">os.getgrouplist()</span></tt></a> test by not assuming that it gives
the same output as <strong class="command">id -G</strong>.</li>
<li><a class="reference external" href="https://bugs.python.org/16115">Issue #16115</a>: Add some tests for the executable argument to
subprocess.Popen().  Initial patch by Kushal Das.</li>
<li><a class="reference external" href="https://bugs.python.org/16126">Issue #16126</a>: PyErr_Format format mismatch in _testcapimodule.c.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15304">Issue #15304</a>: Fix warning message when <a class="reference internal" href="../library/os.html#os.chdir" title="os.chdir"><tt class="xref py py-obj docutils literal"><span class="pre">os.chdir()</span></tt></a> fails inside
<a class="reference internal" href="../library/test.html#test.support.temp_cwd" title="test.support.temp_cwd"><tt class="xref py py-obj docutils literal"><span class="pre">test.support.temp_cwd()</span></tt></a>.  Patch by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/15802">Issue #15802</a>: Fix test logic in <tt class="xref py py-obj docutils literal"><span class="pre">TestMaildir.test_create_tmp()</span></tt>. Patch by
Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15557">Issue #15557</a>: Added a test suite for the webbrowser module, thanks to Anton
Barkovsky.</li>
<li><a class="reference external" href="https://bugs.python.org/16698">Issue #16698</a>: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.</li>
</ul>
</div>
<div class="section" id="id90">
<h3>Build<a class="headerlink" href="#id90" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/16067">Issue #16067</a>: Add description into MSI file to replace installer&#8217;s
temporary name.</li>
<li><a class="reference external" href="https://bugs.python.org/18257">Issue #18257</a>: Fix readlink usage in python-config.  Install the python
version again on Darwin.</li>
<li><a class="reference external" href="https://bugs.python.org/18481">Issue #18481</a>: Add C coverage reporting with gcov and lcov. A new make target
&#8220;coverage-report&#8221; creates an instrumented Python build, runs unit tests
and creates a HTML. The report can be updated with &#8220;make coverage-lcov&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/17845">Issue #17845</a>: Clarified the message printed when some module are not built.</li>
<li><a class="reference external" href="https://bugs.python.org/18256">Issue #18256</a>: Compilation fix for recent AIX releases.  Patch by
David Edelsohn.</li>
<li><a class="reference external" href="https://bugs.python.org/17547">Issue #17547</a>: In configure, explicitly pass -Wformat for the benefit for GCC
4.8.</li>
<li><a class="reference external" href="https://bugs.python.org/15172">Issue #15172</a>: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1
on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/17591">Issue #17591</a>: Use lowercase filenames when including Windows header files.
Patch by Roumen Petrov.</li>
<li><a class="reference external" href="https://bugs.python.org/17550">Issue #17550</a>: Fix the &#8211;enable-profiling configure switch.</li>
<li><a class="reference external" href="https://bugs.python.org/17425">Issue #17425</a>: Build with openssl 1.0.1d on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/16754">Issue #16754</a>: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.</li>
<li><a class="reference external" href="https://bugs.python.org/5033">Issue #5033</a>: Fix building of the sqlite3 extension module when the
SQLite library version has &#8220;beta&#8221; in it. Patch by Andreas Pelme.</li>
<li><a class="reference external" href="https://bugs.python.org/17228">Issue #17228</a>: Fix building without pymalloc.</li>
<li><a class="reference external" href="https://bugs.python.org/3718">Issue #3718</a>: Use AC_ARG_VAR to set MACHDEP in configure.ac.</li>
<li><a class="reference external" href="https://bugs.python.org/16235">Issue #16235</a>: Implement python-config as a shell script.</li>
<li><a class="reference external" href="https://bugs.python.org/16769">Issue #16769</a>: Remove outdated Visual Studio projects.</li>
<li><a class="reference external" href="https://bugs.python.org/17031">Issue #17031</a>: Fix running regen in cross builds.</li>
<li><a class="reference external" href="https://bugs.python.org/3754">Issue #3754</a>: fix typo in pthread AC_CACHE_VAL.</li>
<li><a class="reference external" href="https://bugs.python.org/15484">Issue #15484</a>: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.</li>
<li>Drop support for Windows 2000 (changeset e52df05b496a).</li>
<li><a class="reference external" href="https://bugs.python.org/17029">Issue #17029</a>: Let h2py search the multiarch system include directory.</li>
<li><a class="reference external" href="https://bugs.python.org/16953">Issue #16953</a>: Fix socket module compilation on platforms with
HAVE_BROKEN_POLL. Patch by Jeffrey Armstrong.</li>
<li><a class="reference external" href="https://bugs.python.org/16320">Issue #16320</a>: Remove redundant Makefile dependencies for strings and bytes.</li>
<li>Cross compiling needs host and build settings. configure no longer
creates a broken PYTHON_FOR_BUILD variable when &#8211;build is missing.</li>
<li>Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.</li>
<li><a class="reference external" href="https://bugs.python.org/16836">Issue #16836</a>: Enable IPv6 support even if IPv6 is disabled on the build host.</li>
<li><a class="reference external" href="https://bugs.python.org/16593">Issue #16593</a>: Have BSD &#8216;make -s&#8217; do the right thing, thanks to Daniel Shahaf</li>
<li><a class="reference external" href="https://bugs.python.org/16262">Issue #16262</a>: fix out-of-src-tree builds, if mercurial is not installed.</li>
<li><a class="reference external" href="https://bugs.python.org/15298">Issue #15298</a>: ensure _sysconfigdata is generated in build directory, not
source directory.</li>
<li><a class="reference external" href="https://bugs.python.org/15833">Issue #15833</a>: Fix a regression in 3.3 that resulted in exceptions being
raised if importlib failed to write byte-compiled files.  This affected
attempts to build Python out-of-tree from a read-only source directory.</li>
<li><a class="reference external" href="https://bugs.python.org/15923">Issue #15923</a>: Fix a mistake in <tt class="docutils literal"><span class="pre">asdl_c.py</span></tt> that resulted in a TypeError
after 2801bf875a24 (see #15801).</li>
<li><a class="reference external" href="https://bugs.python.org/16135">Issue #16135</a>: Remove OS/2 support.</li>
<li><a class="reference external" href="https://bugs.python.org/15819">Issue #15819</a>: Make sure we can build Python out-of-tree from a read-only
source directory.  (Somewhat related to <a class="reference external" href="https://bugs.python.org/9860">issue #9860</a>.)</li>
<li><a class="reference external" href="https://bugs.python.org/15587">Issue #15587</a>: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5.</li>
<li><a class="reference external" href="https://bugs.python.org/17161">Issue #17161</a>: make install now also installs a python3 man page.</li>
</ul>
</div>
<div class="section" id="id91">
<h3>C-API<a class="headerlink" href="#id91" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18351">Issue #18351</a>: Fix various issues in a function in importlib provided to help
PyImport_ExecCodeModuleWithPathnames() (and thus by extension
PyImport_ExecCodeModule() and PyImport_ExecCodeModuleEx()).</li>
<li><a class="reference external" href="https://bugs.python.org/9369">Issue #9369</a>: The types of <tt class="xref py py-obj docutils literal"><span class="pre">char*</span></tt> arguments of PyObject_CallFunction() and
PyObject_CallMethod() now changed to <tt class="xref py py-obj docutils literal"><span class="pre">const</span> <span class="pre">char*</span></tt>.  Based on patches by
Jörg Müller and Lars Buitinck.</li>
<li><a class="reference external" href="https://bugs.python.org/17206">Issue #17206</a>: Py_CLEAR(), Py_DECREF(), Py_XINCREF() and Py_XDECREF() now
expand their arguments once instead of multiple times.  Patch written by Illia
Polosukhin.</li>
<li><a class="reference external" href="https://bugs.python.org/17522">Issue #17522</a>: Add the PyGILState_Check() API.</li>
<li><a class="reference external" href="https://bugs.python.org/17327">Issue #17327</a>: Add PyDict_SetDefault.</li>
<li><a class="reference external" href="https://bugs.python.org/16881">Issue #16881</a>: Fix Py_ARRAY_LENGTH macro for GCC &lt; 3.1.</li>
<li><a class="reference external" href="https://bugs.python.org/16505">Issue #16505</a>: Remove unused Py_TPFLAGS_INT_SUBCLASS.</li>
<li><a class="reference external" href="https://bugs.python.org/16086">Issue #16086</a>: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned
(unsigned long and unsigned int) to avoid an undefined behaviour with
Py_TPFLAGS_TYPE_SUBCLASS ((1 &lt;&lt; 31). PyType_GetFlags() result type is
now unsigned too (unsigned long, instead of long).</li>
<li><a class="reference external" href="https://bugs.python.org/16166">Issue #16166</a>: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified
endianness detection and handling.</li>
</ul>
</div>
<div class="section" id="id92">
<h3>Documentation<a class="headerlink" href="#id92" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17701">Issue #17701</a>: Improving strftime documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/18440">Issue #18440</a>: Clarify that <a class="reference internal" href="../library/functions.html#hash" title="hash"><tt class="xref py py-obj docutils literal"><span class="pre">hash()</span></tt></a> can truncate the value returned from an
object&#8217;s custom <tt class="xref py py-obj docutils literal"><span class="pre">__hash__()</span></tt> method.</li>
<li><a class="reference external" href="https://bugs.python.org/17844">Issue #17844</a>: Add links to encoders and decoders for bytes-to-bytes codecs.</li>
<li><a class="reference external" href="https://bugs.python.org/14097">Issue #14097</a>: improve the &#8220;introduction&#8221; page of the tutorial.</li>
<li><a class="reference external" href="https://bugs.python.org/17977">Issue #17977</a>: The documentation for the cadefault argument&#8217;s default value
in urllib.request.urlopen() is fixed to match the code.</li>
<li><a class="reference external" href="https://bugs.python.org/6696">Issue #6696</a>: add documentation for the Profile objects, and improve
profile/cProfile docs.  Patch by Tom Pinckney.</li>
<li><a class="reference external" href="https://bugs.python.org/15940">Issue #15940</a>: Specify effect of locale on time functions.</li>
<li><a class="reference external" href="https://bugs.python.org/17538">Issue #17538</a>: Document XML vulnerabilties</li>
<li><a class="reference external" href="https://bugs.python.org/16642">Issue #16642</a>: sched.scheduler timefunc initial default is time.monotonic.
Patch by Ramchandra Apte</li>
<li><a class="reference external" href="https://bugs.python.org/17047">Issue #17047</a>: remove doubled words in docs and docstrings
reported by Serhiy Storchaka and Matthew Barnett.</li>
<li><a class="reference external" href="https://bugs.python.org/15465">Issue #15465</a>: Document the versioning macros in the C API docs rather than
the standard library docs. Patch by Kushal Das.</li>
<li><a class="reference external" href="https://bugs.python.org/16406">Issue #16406</a>: Combine the pages for uploading and registering to PyPI.</li>
<li><a class="reference external" href="https://bugs.python.org/16403">Issue #16403</a>: Document how distutils uses the maintainer field in
PKG-INFO. Patch by Jyrki Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/16695">Issue #16695</a>: Document how glob handles filenames starting with a
dot. Initial patch by Jyrki Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/8890">Issue #8890</a>: Stop advertising an insecure practice by replacing uses
of the /tmp directory with better alternatives in the documentation.
Patch by Geoff Wilson.</li>
<li><a class="reference external" href="https://bugs.python.org/17203">Issue #17203</a>: add long option names to unittest discovery docs.</li>
<li><a class="reference external" href="https://bugs.python.org/13094">Issue #13094</a>: add &#8220;Why do lambdas defined in a loop with different values
all return the same result?&#8221; programming FAQ.</li>
<li><a class="reference external" href="https://bugs.python.org/14901">Issue #14901</a>: Update portions of the Windows FAQ.
Patch by Ashish Nitin Patil.</li>
<li><a class="reference external" href="https://bugs.python.org/16267">Issue #16267</a>: Better document the 3.3+ approach to combining
&#64;abstractmethod with &#64;staticmethod, &#64;classmethod and &#64;property</li>
<li><a class="reference external" href="https://bugs.python.org/15209">Issue #15209</a>: Clarify exception chaining description in exceptions module
documentation</li>
<li><a class="reference external" href="https://bugs.python.org/15990">Issue #15990</a>: Improve argument/parameter documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/16209">Issue #16209</a>: Move the documentation for the str built-in function to a new
str class entry in the &#8220;Text Sequence Type&#8221; section.</li>
<li><a class="reference external" href="https://bugs.python.org/13538">Issue #13538</a>: Improve str() and object.__str__() documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/16489">Issue #16489</a>: Make it clearer that importlib.find_loader() needs parent
packages to be explicitly imported.</li>
<li><a class="reference external" href="https://bugs.python.org/16400">Issue #16400</a>: Update the description of which versions of a given package
PyPI displays.</li>
<li><a class="reference external" href="https://bugs.python.org/15677">Issue #15677</a>: Document that zlib and gzip accept a compression level of 0 to
mean &#8216;no compression&#8217;. Patch by Brian Brazil.</li>
<li><a class="reference external" href="https://bugs.python.org/16197">Issue #16197</a>: Update winreg docstrings and documentation to match code.
Patch by Zachary Ware.</li>
<li><a class="reference external" href="https://bugs.python.org/8040">Issue #8040</a>: added a version switcher to the documentation.  Patch by
Yury Selivanov.</li>
<li><a class="reference external" href="https://bugs.python.org/16241">Issue #16241</a>: Document -X faulthandler command line option.
Patch by Marek Šuppa.</li>
<li>Additional comments and some style changes in the concurrent.futures URL
retrieval example</li>
<li><a class="reference external" href="https://bugs.python.org/16115">Issue #16115</a>: Improve subprocess.Popen() documentation around args, shell,
and executable arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/13498">Issue #13498</a>: Clarify docs of os.makedirs()&#8217;s exist_ok argument.  Done with
great native-speaker help from R. David Murray.</li>
<li><a class="reference external" href="https://bugs.python.org/15533">Issue #15533</a>: Clarify docs and add tests for <a class="reference internal" href="../library/subprocess.html#subprocess.Popen" title="subprocess.Popen"><tt class="xref py py-obj docutils literal"><span class="pre">subprocess.Popen()</span></tt></a>&#8216;s cwd
argument.</li>
<li><a class="reference external" href="https://bugs.python.org/15979">Issue #15979</a>: Improve timeit documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/16036">Issue #16036</a>: Improve documentation of built-in <a class="reference internal" href="../library/functions.html#int" title="int"><tt class="xref py py-obj docutils literal"><span class="pre">int()</span></tt></a>&#8216;s signature and
arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/15935">Issue #15935</a>: Clarification of <a class="reference internal" href="../library/argparse.html#module-argparse" title="argparse: Command-line option and argument parsing library."><tt class="xref py py-obj docutils literal"><span class="pre">argparse</span></tt></a> docs, re: add_argument() type and
default arguments.  Patch contributed by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/11964">Issue #11964</a>: Document a change in v3.2 to the behavior of the indent
parameter of json encoding operations.</li>
<li><a class="reference external" href="https://bugs.python.org/15116">Issue #15116</a>: Remove references to appscript as it is no longer being
supported.</li>
</ul>
</div>
<div class="section" id="id93">
<h3>Tools/Demos<a class="headerlink" href="#id93" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18817">Issue #18817</a>: Fix a resource warning in Lib/aifc.py demo.  Patch by
Vajrasky Kok.</li>
<li><a class="reference external" href="https://bugs.python.org/18439">Issue #18439</a>: Make patchcheck work on Windows for ACKS, NEWS.</li>
<li><a class="reference external" href="https://bugs.python.org/18448">Issue #18448</a>: Fix a typo in Tools/demo/eiffel.py.</li>
<li><a class="reference external" href="https://bugs.python.org/18457">Issue #18457</a>: Fixed saving of formulas and complex numbers in
Tools/demo/ss1.py.</li>
<li><a class="reference external" href="https://bugs.python.org/18449">Issue #18449</a>: Make Tools/demo/ss1.py work again on Python 3.  Patch by
Févry Thibault.</li>
<li><a class="reference external" href="https://bugs.python.org/12990">Issue #12990</a>: The &#8220;Python Launcher&#8221; on OSX could not launch python scripts
that have paths that include wide characters.</li>
<li><a class="reference external" href="https://bugs.python.org/15239">Issue #15239</a>: Make mkstringprep.py work again on Python 3.</li>
<li><a class="reference external" href="https://bugs.python.org/17028">Issue #17028</a>: Allowed Python arguments to be supplied to the Windows
launcher.</li>
<li><a class="reference external" href="https://bugs.python.org/17156">Issue #17156</a>: pygettext.py now detects the encoding of source files and
correctly writes and escapes non-ascii characters.</li>
<li><a class="reference external" href="https://bugs.python.org/15539">Issue #15539</a>: Fix a number of bugs in Tools/scripts/pindent.py.  Now
pindent.py works with a &#8220;with&#8221; statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
&#8220;class&#8221; or &#8220;def&#8221; keywords and with continuations at the start of line.</li>
<li><a class="reference external" href="https://bugs.python.org/11797">Issue #11797</a>: Add a 2to3 fixer that maps reload() to imp.reload().</li>
<li><a class="reference external" href="https://bugs.python.org/10966">Issue #10966</a>: Remove the concept of unexpected skipped tests.</li>
<li><a class="reference external" href="https://bugs.python.org/9893">Issue #9893</a>: Removed the Misc/Vim directory.</li>
<li>Removed the Misc/TextMate directory.</li>
<li><a class="reference external" href="https://bugs.python.org/16245">Issue #16245</a>: Add the Tools/scripts/parse_html5_entities.py script to parse
the list of HTML5 entities and update the html.entities.html5 dictionary.</li>
<li><a class="reference external" href="https://bugs.python.org/15378">Issue #15378</a>: Fix Tools/unicode/comparecodecs.py.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/16549">Issue #16549</a>: Make json.tool work again on Python 3 and add tests.
Initial patch by Berker Peksag and Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/13301">Issue #13301</a>: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py
Patch by Serhiy Storchaka.</li>
</ul>
</div>
<div class="section" id="id94">
<h3>Windows<a class="headerlink" href="#id94" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/18569">Issue #18569</a>: The installer now adds .py to the PATHEXT variable when extensions
are registered. Patch by Paul Moore.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0">
<h2>Python 3.3.0<a class="headerlink" href="#python-3-3-0" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 29-Sep-2012</em></p>
<div class="section" id="id95">
<h3>Core and Builtins<a class="headerlink" href="#id95" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/16046">Issue #16046</a>: Fix loading sourceless legacy .pyo files.</li>
<li><a class="reference external" href="https://bugs.python.org/16060">Issue #16060</a>: Fix refcounting bug when <tt class="xref py py-obj docutils literal"><span class="pre">__trunc__()</span></tt> returns an object whose
<tt class="xref py py-obj docutils literal"><span class="pre">__int__()</span></tt> gives a non-integer.  Patch by Serhiy Storchaka.</li>
</ul>
</div>
<div class="section" id="id96">
<h3>Extension Modules<a class="headerlink" href="#id96" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/16012">Issue #16012</a>: Fix a regression in pyexpat. The parser&#8217;s <tt class="xref py py-obj docutils literal"><span class="pre">UseForeignDTD()</span></tt>
method doesn&#8217;t require an argument again.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-release-candidate-3">
<h2>Python 3.3.0 Release Candidate 3<a class="headerlink" href="#python-3-3-0-release-candidate-3" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 23-Sep-2012</em></p>
<div class="section" id="id97">
<h3>Core and Builtins<a class="headerlink" href="#id97" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15900">Issue #15900</a>: Fix reference leak in <tt class="xref py py-obj docutils literal"><span class="pre">PyUnicode_TranslateCharmap()</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/15926">Issue #15926</a>: Fix crash after multiple reinitializations of the interpreter.</li>
<li><a class="reference external" href="https://bugs.python.org/15895">Issue #15895</a>: Fix FILE pointer leak in one error branch of
<tt class="xref py py-obj docutils literal"><span class="pre">PyRun_SimpleFileExFlags()</span></tt> when filename points to a pyc/pyo file, closeit is
false an and set_main_loader() fails.</li>
<li>Fixes for a few crash and memory leak regressions found by Coverity.</li>
</ul>
</div>
<div class="section" id="id98">
<h3>Library<a class="headerlink" href="#id98" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15882">Issue #15882</a>: Change <tt class="xref py py-obj docutils literal"><span class="pre">_decimal</span></tt> to accept any coefficient tuple when
constructing infinities. This is done for backwards compatibility with
decimal.py: Infinity coefficients are undefined in _decimal (in accordance
with the specification).</li>
<li><a class="reference external" href="https://bugs.python.org/15925">Issue #15925</a>: Fix a regression in <tt class="xref py py-obj docutils literal"><span class="pre">email.util</span></tt> where the <tt class="xref py py-obj docutils literal"><span class="pre">parsedate()</span></tt> and
<tt class="xref py py-obj docutils literal"><span class="pre">parsedate_tz()</span></tt> functions did not return None anymore when the argument could
not be parsed.</li>
</ul>
</div>
<div class="section" id="id99">
<h3>Extension Modules<a class="headerlink" href="#id99" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15973">Issue #15973</a>: Fix a segmentation fault when comparing datetime timezone
objects.</li>
<li><a class="reference external" href="https://bugs.python.org/15977">Issue #15977</a>: Fix memory leak in Modules/_ssl.c when the function
_set_npn_protocols() is called multiple times, thanks to Daniel Sommermann.</li>
<li><a class="reference external" href="https://bugs.python.org/15969">Issue #15969</a>: <a class="reference internal" href="../library/faulthandler.html#module-faulthandler" title="faulthandler: Dump the Python traceback."><tt class="xref py py-obj docutils literal"><span class="pre">faulthandler</span></tt></a> module: rename dump_tracebacks_later() to
dump_traceback_later() and cancel_dump_tracebacks_later() to
cancel_dump_traceback_later().</li>
<li>_decimal module: use only C 89 style comments.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-release-candidate-2">
<h2>Python 3.3.0 Release Candidate 2<a class="headerlink" href="#python-3-3-0-release-candidate-2" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 09-Sep-2012</em></p>
<div class="section" id="id100">
<h3>Core and Builtins<a class="headerlink" href="#id100" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/13992">Issue #13992</a>: The trashcan mechanism is now thread-safe.  This eliminates
sporadic crashes in multi-thread programs when several long deallocator chains
ran concurrently and involved subclasses of built-in container types.</li>
<li><a class="reference external" href="https://bugs.python.org/15784">Issue #15784</a>: Modify <a class="reference internal" href="../library/exceptions.html#OSError" title="OSError"><tt class="xref py py-obj docutils literal"><span class="pre">OSError</span></tt></a>.__str__() to better distinguish between errno
error numbers and Windows error numbers.</li>
<li><a class="reference external" href="https://bugs.python.org/15781">Issue #15781</a>: Fix two small race conditions in import&#8217;s module locking.</li>
</ul>
</div>
<div class="section" id="id101">
<h3>Library<a class="headerlink" href="#id101" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/17158">Issue #17158</a>: Add &#8216;symbols&#8217; to help() welcome message; clarify
&#8216;modules spam&#8217; messages.</li>
<li><a class="reference external" href="https://bugs.python.org/15847">Issue #15847</a>: Fix a regression in argparse, which did not accept tuples as
argument lists anymore.</li>
<li><a class="reference external" href="https://bugs.python.org/15828">Issue #15828</a>: Restore support for C extensions in <a class="reference internal" href="../library/imp.html#imp.load_module" title="imp.load_module"><tt class="xref py py-obj docutils literal"><span class="pre">imp.load_module()</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/15340">Issue #15340</a>: Fix importing the random module when <tt class="docutils literal"><span class="pre">/dev/urandom</span></tt> cannot be
opened.  This was a regression caused by the hash randomization patch.</li>
<li><a class="reference external" href="https://bugs.python.org/10650">Issue #10650</a>: Deprecate the watchexp parameter of the <tt class="xref py py-obj docutils literal"><span class="pre">Decimal.quantize()</span></tt>
method.</li>
<li><a class="reference external" href="https://bugs.python.org/15785">Issue #15785</a>: Modify <tt class="xref py py-obj docutils literal"><span class="pre">window.get_wch()</span></tt> API of the curses module: return a
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.</li>
<li><a class="reference external" href="https://bugs.python.org/14223">Issue #14223</a>: Fix <tt class="xref py py-obj docutils literal"><span class="pre">window.addch()</span></tt> of the curses module for special characters
like curses.ACS_HLINE: the Python function addch(int) and addch(bytes) is now
calling the C function waddch()/mvwaddch() (as it was done in Python 3.2),
instead of wadd_wch()/mvwadd_wch(). The Python function addch(str) is still
calling the C function wadd_wch()/mvwadd_wch() if the Python curses is linked
to libncursesw.</li>
</ul>
</div>
<div class="section" id="id102">
<h3>Build<a class="headerlink" href="#id102" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15822">Issue #15822</a>: Really ensure 2to3 grammar pickles are properly installed
(replaces fixes for <a class="reference external" href="https://bugs.python.org/15645">Issue #15645</a>).</li>
</ul>
</div>
<div class="section" id="id103">
<h3>Documentation<a class="headerlink" href="#id103" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15814">Issue #15814</a>: The memoryview enhancements in 3.3.0 accidentally permitted the
hashing of multi-dimensional memorviews and memoryviews with multi-byte item
formats. The intended restrictions have now been documented - they will be
correctly enforced in 3.3.1.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-release-candidate-1">
<h2>Python 3.3.0 Release Candidate 1<a class="headerlink" href="#python-3-3-0-release-candidate-1" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 25-Aug-2012</em></p>
<div class="section" id="id104">
<h3>Core and Builtins<a class="headerlink" href="#id104" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15573">Issue #15573</a>: memoryview comparisons are now performed by value with full
support for any valid struct module format definition.</li>
<li><a class="reference external" href="https://bugs.python.org/15316">Issue #15316</a>: When an item in the fromlist for <a class="reference internal" href="../library/functions.html#__import__" title="__import__"><tt class="xref py py-obj docutils literal"><span class="pre">__import__()</span></tt></a> doesn&#8217;t exist,
don&#8217;t raise an error, but if an exception is raised as part of an import do
let that propagate.</li>
<li><a class="reference external" href="https://bugs.python.org/15778">Issue #15778</a>: Ensure that <tt class="docutils literal"><span class="pre">str(ImportError(msg))</span></tt> returns a str even when
msg isn&#8217;t a str.</li>
<li><a class="reference external" href="https://bugs.python.org/2051">Issue #2051</a>: Source file permission bits are once again correctly copied to
the cached bytecode file. (The migration to importlib reintroduced this
problem because these was no regression test. A test has been added as part of
this patch)</li>
<li><a class="reference external" href="https://bugs.python.org/15761">Issue #15761</a>: Fix crash when <tt class="docutils literal"><span class="pre">PYTHONEXECUTABLE</span></tt> is set on Mac OS X.</li>
<li><a class="reference external" href="https://bugs.python.org/15726">Issue #15726</a>: Fix incorrect bounds checking in PyState_FindModule.  Patch by
Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/15604">Issue #15604</a>: Update uses of <tt class="xref py py-obj docutils literal"><span class="pre">PyObject_IsTrue()</span></tt> to check for and handle
errors correctly.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/14846">Issue #14846</a>: <tt class="xref py py-obj docutils literal"><span class="pre">importlib.FileFinder</span></tt> now handles the case where the directory
being searched is removed after a previous import attempt.</li>
</ul>
</div>
<div class="section" id="id105">
<h3>Library<a class="headerlink" href="#id105" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/13370">Issue #13370</a>: Ensure that ctypes works on Mac OS X when Python is compiled
using the clang compiler.</li>
<li><a class="reference external" href="https://bugs.python.org/13072">Issue #13072</a>: The array module&#8217;s &#8216;u&#8217; format code is now deprecated and will be
removed in Python 4.0.</li>
<li><a class="reference external" href="https://bugs.python.org/15544">Issue #15544</a>: Fix Decimal.__float__ to work with payload-carrying NaNs.</li>
<li><a class="reference external" href="https://bugs.python.org/15776">Issue #15776</a>: Allow pyvenv to work in existing directory with &#8211;clean.</li>
<li><a class="reference external" href="https://bugs.python.org/15249">Issue #15249</a>: email&#8217;s BytesGenerator now correctly mangles From lines (when
requested) even if the body contains undecodable bytes.</li>
<li><a class="reference external" href="https://bugs.python.org/15777">Issue #15777</a>: Fix a refleak in _posixsubprocess.</li>
<li>Issue ##665194: Update <a class="reference internal" href="../library/email.util.html#email.utils.localtime" title="email.utils.localtime"><tt class="xref py py-obj docutils literal"><span class="pre">email.utils.localtime</span></tt></a> to use datetime.astimezone and
correctly handle historic changes in UTC offsets.</li>
<li><a class="reference external" href="https://bugs.python.org/15199">Issue #15199</a>: Fix JavaScript&#8217;s default MIME type to application/javascript.
Patch by Bohuslav Kabrda.</li>
<li><a class="reference external" href="https://bugs.python.org/12643">Issue #12643</a>: <a class="reference internal" href="../library/code.html#code.InteractiveConsole" title="code.InteractiveConsole"><tt class="xref py py-obj docutils literal"><span class="pre">code.InteractiveConsole</span></tt></a> now respects <a class="reference internal" href="../library/sys.html#sys.excepthook" title="sys.excepthook"><tt class="xref py py-obj docutils literal"><span class="pre">sys.excepthook</span></tt></a> when
displaying exceptions.  Patch by Aaron Iles.</li>
<li><a class="reference external" href="https://bugs.python.org/13579">Issue #13579</a>: <a class="reference internal" href="../library/string.html#string.Formatter" title="string.Formatter"><tt class="xref py py-obj docutils literal"><span class="pre">string.Formatter</span></tt></a> now understands the &#8216;a&#8217; conversion specifier.</li>
<li><a class="reference external" href="https://bugs.python.org/15595">Issue #15595</a>: Fix <tt class="docutils literal"><span class="pre">subprocess.Popen(universal_newlines=True)</span></tt> for certain
locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/15477">Issue #15477</a>: In cmath and math modules, add workaround for platforms whose
system-supplied log1p function doesn&#8217;t respect signs of zeros.</li>
<li><a class="reference external" href="https://bugs.python.org/15715">Issue #15715</a>: <a class="reference internal" href="../library/importlib.html#importlib.__import__" title="importlib.__import__"><tt class="xref py py-obj docutils literal"><span class="pre">importlib.__import__()</span></tt></a> will silence an ImportError when the
use of fromlist leads to a failed import.</li>
<li><a class="reference external" href="https://bugs.python.org/14669">Issue #14669</a>: Fix pickling of connections and sockets on Mac OS X by
sending/receiving an acknowledgment after file descriptor transfer.
TestPicklingConnection has been reenabled for Mac OS X.</li>
<li><a class="reference external" href="https://bugs.python.org/11062">Issue #11062</a>: Fix adding a message from file to Babyl mailbox.</li>
<li><a class="reference external" href="https://bugs.python.org/15646">Issue #15646</a>: Prevent equivalent of a fork bomb when using <a class="reference internal" href="../library/multiprocessing.html#module-multiprocessing" title="multiprocessing: Process-based parallelism."><tt class="xref py py-obj docutils literal"><span class="pre">multiprocessing</span></tt></a>
on Windows without the <tt class="docutils literal"><span class="pre">if</span> <span class="pre">__name__</span> <span class="pre">==</span> <span class="pre">'__main__'</span></tt> idiom.</li>
</ul>
</div>
<div class="section" id="id106">
<h3>IDLE<a class="headerlink" href="#id106" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15678">Issue #15678</a>: Fix IDLE menus when started from OS X command line (3.3.0b2
regression).</li>
</ul>
</div>
<div class="section" id="id107">
<h3>Documentation<a class="headerlink" href="#id107" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Touched up the Python 2 to 3 porting guide.</li>
<li><a class="reference external" href="https://bugs.python.org/14674">Issue #14674</a>: Add a discussion of the <a class="reference internal" href="../library/json.html#module-json" title="json: Encode and decode the JSON format."><tt class="xref py py-obj docutils literal"><span class="pre">json</span></tt></a> module&#8217;s standard compliance.
Patch by Chris Rebert.</li>
<li>Create a &#8216;Concurrent Execution&#8217; section in the docs, and split up the
&#8216;Optional Operating System Services&#8217; section to use a more user-centric
classification scheme (splitting them across the new CE section, IPC and text
processing). Operating system limitations can be reflected with the Sphinx
<tt class="docutils literal"><span class="pre">:platform:</span></tt> tag, it doesn&#8217;t make sense as part of the Table of Contents.</li>
<li><a class="reference external" href="https://bugs.python.org/4966">Issue #4966</a>: Bring the sequence docs up to date for the Py3k transition and
the many language enhancements since they were original written.</li>
<li>The &#8220;path importer&#8221; misnomer has been replaced with Eric Snow&#8217;s
more-awkward-but-at-least-not-wrong suggestion of &#8220;path based finder&#8221; in the
import system reference docs.</li>
<li><a class="reference external" href="https://bugs.python.org/15640">Issue #15640</a>: Document <a class="reference internal" href="../library/importlib.html#importlib.abc.Finder" title="importlib.abc.Finder"><tt class="xref py py-obj docutils literal"><span class="pre">importlib.abc.Finder</span></tt></a> as deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/15630">Issue #15630</a>: Add an example for &#8220;continue&#8221; stmt in the tutorial.  Patch by
Daniel Ellis.</li>
</ul>
</div>
<div class="section" id="id108">
<h3>Tests<a class="headerlink" href="#id108" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15747">Issue #15747</a>: ZFS always returns EOPNOTSUPP when attempting to set the
UF_IMMUTABLE flag (via either chflags or lchflags); refactor affected tests in
test_posix.py to account for this.</li>
<li><a class="reference external" href="https://bugs.python.org/15285">Issue #15285</a>: Refactor the approach for testing connect timeouts using two
external hosts that have been configured specifically for this type of test.</li>
<li><a class="reference external" href="https://bugs.python.org/15743">Issue #15743</a>: Remove the deprecated method usage in <a class="reference internal" href="../library/urllib.html#module-urllib" title="urllib"><tt class="xref py py-obj docutils literal"><span class="pre">urllib</span></tt></a> tests. Patch by
Jeff Knupp.</li>
<li><a class="reference external" href="https://bugs.python.org/15615">Issue #15615</a>: Add some tests for the <a class="reference internal" href="../library/json.html#module-json" title="json: Encode and decode the JSON format."><tt class="xref py py-obj docutils literal"><span class="pre">json</span></tt></a> module&#8217;s handling of invalid input
data.  Patch by Kushal Das.</li>
</ul>
</div>
<div class="section" id="id109">
<h3>Build<a class="headerlink" href="#id109" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Output lib files for PGO build into PGO directory.</li>
<li>Pick up 32-bit launcher from PGO directory on 64-bit PGO build.</li>
<li>Drop <tt class="docutils literal"><span class="pre">PC\python_nt.h</span></tt> as it&#8217;s not used.  Add input dependency on custom
build step.</li>
<li><a class="reference external" href="https://bugs.python.org/15511">Issue #15511</a>: Drop explicit dependency on pythonxy.lib from _decimal amd64
configuration.</li>
<li>Add missing PGI/PGO configurations for pywlauncher.</li>
<li><a class="reference external" href="https://bugs.python.org/15645">Issue #15645</a>: Ensure 2to3 grammar pickles are properly installed.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-beta-2">
<h2>Python 3.3.0 Beta 2<a class="headerlink" href="#python-3-3-0-beta-2" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 12-Aug-2012</em></p>
<div class="section" id="id110">
<h3>Core and Builtins<a class="headerlink" href="#id110" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15568">Issue #15568</a>: Fix the return value of <tt class="docutils literal"><span class="pre">yield</span> <span class="pre">from</span></tt> when StopIteration is
raised by a custom iterator.</li>
<li><a class="reference external" href="https://bugs.python.org/13119">Issue #13119</a>: <a class="reference internal" href="../library/sys.html#sys.stdout" title="sys.stdout"><tt class="xref py py-obj docutils literal"><span class="pre">sys.stdout</span></tt></a> and <a class="reference internal" href="../library/sys.html#sys.stderr" title="sys.stderr"><tt class="xref py py-obj docutils literal"><span class="pre">sys.stderr</span></tt></a> are now using &#8220;rn&#8221; newline on
Windows, as Python 2.</li>
<li><a class="reference external" href="https://bugs.python.org/15534">Issue #15534</a>: Fix the fast-search function for non-ASCII Unicode strings.</li>
<li><a class="reference external" href="https://bugs.python.org/15508">Issue #15508</a>: Fix the docstring for <a class="reference internal" href="../library/functions.html#__import__" title="__import__"><tt class="xref py py-obj docutils literal"><span class="pre">__import__()</span></tt></a> to have the proper default
value of 0 for &#8216;level&#8217; and to not mention negative levels since they are not
supported.</li>
<li><a class="reference external" href="https://bugs.python.org/15425">Issue #15425</a>: Eliminated traceback noise from more situations involving
importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/14578">Issue #14578</a>: Support modules registered in the Windows registry again.</li>
<li><a class="reference external" href="https://bugs.python.org/15466">Issue #15466</a>: Stop using TYPE_INT64 in marshal, to make importlib.h (and other
byte code files) equal between 32-bit and 64-bit systems.</li>
<li><a class="reference external" href="https://bugs.python.org/1692335">Issue #1692335</a>: Move initial exception args assignment to
<tt class="xref py py-obj docutils literal"><span class="pre">BaseException.__new__()</span></tt> to help pickling of naive subclasses.</li>
<li><a class="reference external" href="https://bugs.python.org/12834">Issue #12834</a>: Fix <tt class="xref py py-obj docutils literal"><span class="pre">PyBuffer_ToContiguous()</span></tt> for non-contiguous arrays.</li>
<li><a class="reference external" href="https://bugs.python.org/15456">Issue #15456</a>: Fix code <tt class="xref py py-obj docutils literal"><span class="pre">__sizeof__()</span></tt> after #12399 change.  Patch by Serhiy
Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15404">Issue #15404</a>: Refleak in PyMethodObject repr.</li>
<li><a class="reference external" href="https://bugs.python.org/15394">Issue #15394</a>: An issue in <tt class="xref py py-obj docutils literal"><span class="pre">PyModule_Create()</span></tt> that caused references to be
leaked on some error paths has been fixed.  Patch by Julia Lawall.</li>
<li><a class="reference external" href="https://bugs.python.org/15368">Issue #15368</a>: An issue that caused bytecode generation to be non-deterministic
has been fixed.</li>
<li><a class="reference external" href="https://bugs.python.org/15202">Issue #15202</a>: Consistently use the name &#8220;follow_symlinks&#8221; for new parameters
in os and shutil functions.</li>
<li><a class="reference external" href="https://bugs.python.org/15314">Issue #15314</a>: <tt class="docutils literal"><span class="pre">__main__.__loader__</span></tt> is now set correctly during interpreter
startup.</li>
<li><a class="reference external" href="https://bugs.python.org/15111">Issue #15111</a>: When a module imported using &#8216;from import&#8217; has an ImportError
inside itself, don&#8217;t mask that fact behind a generic ImportError for the
module itself.</li>
<li><a class="reference external" href="https://bugs.python.org/15293">Issue #15293</a>: Add GC support to the AST base node type.</li>
<li><a class="reference external" href="https://bugs.python.org/15291">Issue #15291</a>: Fix a memory leak where AST nodes where not properly
deallocated.</li>
<li><a class="reference external" href="https://bugs.python.org/15110">Issue #15110</a>: Fix the tracebacks generated by &#8220;import xxx&#8221; to not show the
importlib stack frames.</li>
<li><a class="reference external" href="https://bugs.python.org/16369">Issue #16369</a>: Global PyTypeObjects not initialized with PyType_Ready(...).</li>
<li><a class="reference external" href="https://bugs.python.org/15020">Issue #15020</a>: The program name used to search for Python&#8217;s path is now
&#8220;python3&#8221; under Unix, not &#8220;python&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/15897">Issue #15897</a>: zipimport.c doesn&#8217;t check return value of fseek().
Patch by Felipe Cruz.</li>
<li><a class="reference external" href="https://bugs.python.org/15033">Issue #15033</a>: Fix the exit status bug when modules invoked using -m switch,
return the proper failure return value (1). Patch contributed by Jeff Knupp.</li>
<li><a class="reference external" href="https://bugs.python.org/15229">Issue #15229</a>: An <a class="reference internal" href="../library/exceptions.html#OSError" title="OSError"><tt class="xref py py-obj docutils literal"><span class="pre">OSError</span></tt></a> subclass whose __init__ doesn&#8217;t call back
OSError.__init__ could produce incomplete instances, leading to crashes when
calling str() on them.</li>
<li><a class="reference external" href="https://bugs.python.org/15307">Issue #15307</a>: Virtual environments now use symlinks with framework builds on
Mac OS X, like other POSIX builds.</li>
</ul>
</div>
<div class="section" id="id111">
<h3>Library<a class="headerlink" href="#id111" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14590">Issue #14590</a>: configparser now correctly strips inline comments when delimiter
occurs earlier without preceding space.</li>
<li><a class="reference external" href="https://bugs.python.org/15424">Issue #15424</a>: Add a <tt class="xref py py-obj docutils literal"><span class="pre">__sizeof__()</span></tt> implementation for array objects.  Patch by
Ludwig Hähne.</li>
<li><a class="reference external" href="https://bugs.python.org/15576">Issue #15576</a>: Allow extension modules to act as a package&#8217;s __init__ module.</li>
<li><a class="reference external" href="https://bugs.python.org/15502">Issue #15502</a>: Have <a class="reference internal" href="../library/importlib.html#importlib.invalidate_caches" title="importlib.invalidate_caches"><tt class="xref py py-obj docutils literal"><span class="pre">importlib.invalidate_caches()</span></tt></a> work on <a class="reference internal" href="../library/sys.html#sys.meta_path" title="sys.meta_path"><tt class="xref py py-obj docutils literal"><span class="pre">sys.meta_path</span></tt></a>
instead of <a class="reference internal" href="../library/sys.html#sys.path_importer_cache" title="sys.path_importer_cache"><tt class="xref py py-obj docutils literal"><span class="pre">sys.path_importer_cache</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/15163">Issue #15163</a>: Pydoc shouldn&#8217;t list __loader__ as module data.</li>
<li><a class="reference external" href="https://bugs.python.org/15471">Issue #15471</a>: Do not use mutable objects as defaults for
<a class="reference internal" href="../library/importlib.html#importlib.__import__" title="importlib.__import__"><tt class="xref py py-obj docutils literal"><span class="pre">importlib.__import__()</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/15559">Issue #15559</a>: To avoid a problematic failure mode when passed to the bytes
constructor, objects in the ipaddress module no longer implement <tt class="xref py py-obj docutils literal"><span class="pre">__index__()</span></tt>
(they still implement <tt class="xref py py-obj docutils literal"><span class="pre">__int__()</span></tt> as appropriate).</li>
<li><a class="reference external" href="https://bugs.python.org/15546">Issue #15546</a>: Fix handling of pathological input data in the peek() and
read1() methods of the BZ2File, GzipFile and LZMAFile classes.</li>
<li><a class="reference external" href="https://bugs.python.org/12655">Issue #12655</a>: Instead of requiring a custom type, <a class="reference internal" href="../library/os.html#os.sched_getaffinity" title="os.sched_getaffinity"><tt class="xref py py-obj docutils literal"><span class="pre">os.sched_getaffinity()</span></tt></a> and
<a class="reference internal" href="../library/os.html#os.sched_setaffinity" title="os.sched_setaffinity"><tt class="xref py py-obj docutils literal"><span class="pre">os.sched_setaffinity()</span></tt></a> now use regular sets of integers to represent the
CPUs a process is restricted to.</li>
<li><a class="reference external" href="https://bugs.python.org/15538">Issue #15538</a>: Fix compilation of the <a class="reference internal" href="../library/socket.html#socket.getnameinfo" title="socket.getnameinfo"><tt class="xref py py-obj docutils literal"><span class="pre">socket.getnameinfo()</span></tt></a> /
<a class="reference internal" href="../library/socket.html#socket.getaddrinfo" title="socket.getaddrinfo"><tt class="xref py py-obj docutils literal"><span class="pre">socket.getaddrinfo()</span></tt></a> emulation code.  Patch by Philipp Hagemeister.</li>
<li><a class="reference external" href="https://bugs.python.org/15519">Issue #15519</a>: Properly expose WindowsRegistryFinder in importlib (and use the
correct term for it).  Original patch by Eric Snow.</li>
<li><a class="reference external" href="https://bugs.python.org/15502">Issue #15502</a>: Bring the importlib ABCs into line with the current state of the
import protocols given PEP 420.  Original patch by Eric Snow.</li>
<li><a class="reference external" href="https://bugs.python.org/15499">Issue #15499</a>: Launching a webbrowser in Unix used to sleep for a few seconds.
Original patch by Anton Barkovsky.</li>
<li><a class="reference external" href="https://bugs.python.org/15463">Issue #15463</a>: The faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths.</li>
<li><a class="reference external" href="https://bugs.python.org/6056">Issue #6056</a>: Make <a class="reference internal" href="../library/multiprocessing.html#module-multiprocessing" title="multiprocessing: Process-based parallelism."><tt class="xref py py-obj docutils literal"><span class="pre">multiprocessing</span></tt></a> use setblocking(True) on the sockets it
uses.  Original patch by J Derek Wilson.</li>
<li><a class="reference external" href="https://bugs.python.org/15364">Issue #15364</a>: Fix sysconfig.get_config_var(&#8216;srcdir&#8217;) to be an absolute path.</li>
<li><a class="reference external" href="https://bugs.python.org/15413">Issue #15413</a>: <a class="reference internal" href="../library/os.html#os.times" title="os.times"><tt class="xref py py-obj docutils literal"><span class="pre">os.times()</span></tt></a> had disappeared under Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/15402">Issue #15402</a>: An issue in the struct module that caused <a class="reference internal" href="../library/sys.html#sys.getsizeof" title="sys.getsizeof"><tt class="xref py py-obj docutils literal"><span class="pre">sys.getsizeof()</span></tt></a> to
return incorrect results for struct.Struct instances has been fixed.  Initial
patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15232">Issue #15232</a>: When mangle_from is True, <tt class="xref py py-obj docutils literal"><span class="pre">email.Generator</span></tt> now correctly
mangles lines that start with &#8216;From &#8216; that occur in a MIME preamble or
epilogue.</li>
<li><a class="reference external" href="https://bugs.python.org/15094">Issue #15094</a>: Incorrectly placed #endif in _tkinter.c.  Patch by Serhiy
Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/13922">Issue #13922</a>: <a class="reference internal" href="../library/argparse.html#module-argparse" title="argparse: Command-line option and argument parsing library."><tt class="xref py py-obj docutils literal"><span class="pre">argparse</span></tt></a> no longer incorrectly strips &#8216;&#8211;&#8217;s that appear after
the first one.</li>
<li><a class="reference external" href="https://bugs.python.org/12353">Issue #12353</a>: <a class="reference internal" href="../library/argparse.html#module-argparse" title="argparse: Command-line option and argument parsing library."><tt class="xref py py-obj docutils literal"><span class="pre">argparse</span></tt></a> now correctly handles null argument values.</li>
<li><a class="reference external" href="https://bugs.python.org/10017">Issue #10017</a>, <a class="reference external" href="https://bugs.python.org/14998">issue #14998</a>: Fix TypeError using pprint on dictionaries with
user-defined types as keys or other unorderable keys.</li>
<li><a class="reference external" href="https://bugs.python.org/15397">Issue #15397</a>: <a class="reference internal" href="../library/inspect.html#inspect.getmodulename" title="inspect.getmodulename"><tt class="xref py py-obj docutils literal"><span class="pre">inspect.getmodulename()</span></tt></a> is now based directly on importlib via
a new <a class="reference internal" href="../library/importlib.html#importlib.machinery.all_suffixes" title="importlib.machinery.all_suffixes"><tt class="xref py py-obj docutils literal"><span class="pre">importlib.machinery.all_suffixes()</span></tt></a> API.</li>
<li><a class="reference external" href="https://bugs.python.org/14635">Issue #14635</a>: <a class="reference internal" href="../library/telnetlib.html#module-telnetlib" title="telnetlib: Telnet client class."><tt class="xref py py-obj docutils literal"><span class="pre">telnetlib</span></tt></a> will use poll() rather than select() when possible to
avoid failing due to the select() file descriptor limit.</li>
<li><a class="reference external" href="https://bugs.python.org/15180">Issue #15180</a>: Clarify posixpath.join() error message when mixing str &amp; bytes.</li>
<li><a class="reference external" href="https://bugs.python.org/15343">Issue #15343</a>: pkgutil now includes an iter_importer_modules implementation for
importlib.machinery.FileFinder (similar to the way it already handled
zipimport.zipimporter).</li>
<li><a class="reference external" href="https://bugs.python.org/15314">Issue #15314</a>: runpy now sets __main__.__loader__ correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/15357">Issue #15357</a>: The import emulation in pkgutil is now deprecated. pkgutil uses
importlib internally rather than the emulation.</li>
<li><a class="reference external" href="https://bugs.python.org/15233">Issue #15233</a>: Python now guarantees that callables registered with the atexit
module will be called in a deterministic order.</li>
<li><a class="reference external" href="https://bugs.python.org/15238">Issue #15238</a>: <a class="reference internal" href="../library/shutil.html#shutil.copystat" title="shutil.copystat"><tt class="xref py py-obj docutils literal"><span class="pre">shutil.copystat()</span></tt></a> now copies Linux &#8220;extended attributes&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/15230">Issue #15230</a>: runpy.run_path now correctly sets __package__ as described in
the documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/15315">Issue #15315</a>: Support VS 2010 in distutils cygwincompiler.</li>
<li><a class="reference external" href="https://bugs.python.org/15294">Issue #15294</a>: Fix a regression in pkgutil.extend_path()&#8217;s handling of nested
namespace packages.</li>
<li><a class="reference external" href="https://bugs.python.org/15056">Issue #15056</a>: <a class="reference internal" href="../library/imp.html#imp.cache_from_source" title="imp.cache_from_source"><tt class="xref py py-obj docutils literal"><span class="pre">imp.cache_from_source()</span></tt></a> and <a class="reference internal" href="../library/imp.html#imp.source_from_cache" title="imp.source_from_cache"><tt class="xref py py-obj docutils literal"><span class="pre">imp.source_from_cache()</span></tt></a> raise
NotImplementedError when <tt class="xref py py-obj docutils literal"><span class="pre">sys.implementation.cache_tag</span></tt> is set to None.</li>
<li><a class="reference external" href="https://bugs.python.org/15256">Issue #15256</a>: Grammatical mistake in exception raised by <a class="reference internal" href="../library/imp.html#imp.find_module" title="imp.find_module"><tt class="xref py py-obj docutils literal"><span class="pre">imp.find_module()</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/5931">Issue #5931</a>: <a class="reference internal" href="../library/wsgiref.html#module-wsgiref" title="wsgiref: WSGI Utilities and Reference Implementation."><tt class="xref py py-obj docutils literal"><span class="pre">wsgiref</span></tt></a> environ variable SERVER_SOFTWARE will specify an
implementation specific term like CPython, Jython instead of generic &#8220;Python&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/13248">Issue #13248</a>: Remove obsolete argument &#8220;max_buffer_size&#8221; of BufferedWriter and
BufferedRWPair, from the io module.</li>
<li><a class="reference external" href="https://bugs.python.org/13248">Issue #13248</a>: Remove obsolete argument &#8220;version&#8221; of <a class="reference internal" href="../library/argparse.html#argparse.ArgumentParser" title="argparse.ArgumentParser"><tt class="xref py py-obj docutils literal"><span class="pre">argparse.ArgumentParser</span></tt></a>.</li>
<li><a class="reference external" href="https://bugs.python.org/14814">Issue #14814</a>: Implement more consistent ordering and sorting behaviour for
ipaddress objects.</li>
<li><a class="reference external" href="https://bugs.python.org/14814">Issue #14814</a>: <a class="reference internal" href="../library/ipaddress.html#module-ipaddress" title="ipaddress: IPv4/IPv6 manipulation library."><tt class="xref py py-obj docutils literal"><span class="pre">ipaddress</span></tt></a> network objects correctly return NotImplemented when
compared to arbitrary objects instead of raising TypeError.</li>
<li><a class="reference external" href="https://bugs.python.org/14990">Issue #14990</a>: Correctly fail with SyntaxError on invalid encoding declaration.</li>
<li><a class="reference external" href="https://bugs.python.org/14814">Issue #14814</a>: <a class="reference internal" href="../library/ipaddress.html#module-ipaddress" title="ipaddress: IPv4/IPv6 manipulation library."><tt class="xref py py-obj docutils literal"><span class="pre">ipaddress</span></tt></a> now provides more informative error messages when
constructing instances directly (changes permitted during beta due to
provisional API status).</li>
<li><a class="reference external" href="https://bugs.python.org/15247">Issue #15247</a>: <a class="reference internal" href="../library/io.html#io.FileIO" title="io.FileIO"><tt class="xref py py-obj docutils literal"><span class="pre">io.FileIO</span></tt></a> now raises an error when given a file descriptor
pointing to a directory.</li>
<li><a class="reference external" href="https://bugs.python.org/15261">Issue #15261</a>: Stop os.stat(fd) crashing on Windows when fd not open.</li>
<li><a class="reference external" href="https://bugs.python.org/15166">Issue #15166</a>: Implement <a class="reference internal" href="../library/imp.html#imp.get_tag" title="imp.get_tag"><tt class="xref py py-obj docutils literal"><span class="pre">imp.get_tag()</span></tt></a> using <tt class="xref py py-obj docutils literal"><span class="pre">sys.implementation.cache_tag</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/15210">Issue #15210</a>: Catch KeyError when <tt class="xref py py-obj docutils literal"><span class="pre">importlib.__init__()</span></tt> can&#8217;t find
_frozen_importlib in sys.modules, not ImportError.</li>
<li><a class="reference external" href="https://bugs.python.org/15030">Issue #15030</a>: <tt class="xref py py-obj docutils literal"><span class="pre">importlib.abc.PyPycLoader</span></tt> now supports the new source size
header field in .pyc files.</li>
<li><a class="reference external" href="https://bugs.python.org/5346">Issue #5346</a>: Preserve permissions of mbox, MMDF and Babyl mailbox files on
flush().</li>
<li><a class="reference external" href="https://bugs.python.org/10571">Issue #10571</a>: Fix the &#8220;&#8211;sign&#8221; option of distutils&#8217; upload command.  Patch by
Jakub Wilk.</li>
<li><a class="reference external" href="https://bugs.python.org/9559">Issue #9559</a>: If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or Babyl
mailbox.</li>
<li><a class="reference external" href="https://bugs.python.org/10924">Issue #10924</a>: Fixed <a class="reference internal" href="../library/crypt.html#crypt.mksalt" title="crypt.mksalt"><tt class="xref py py-obj docutils literal"><span class="pre">crypt.mksalt()</span></tt></a> to use a RNG that is suitable for
cryptographic purpose.</li>
<li><a class="reference external" href="https://bugs.python.org/15184">Issue #15184</a>: Ensure consistent results of OS X configuration tailoring for
universal builds by factoring out common OS X-specific customizations from
sysconfig, distutils.sysconfig, distutils.util, and distutils.unixccompiler
into a new module _osx_support.</li>
</ul>
</div>
<div class="section" id="id112">
<h3>C API<a class="headerlink" href="#id112" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15610">Issue #15610</a>: <tt class="xref py py-obj docutils literal"><span class="pre">PyImport_ImportModuleEx()</span></tt> now uses a &#8216;level&#8217; of 0 instead of -1.</li>
<li><a class="reference external" href="https://bugs.python.org/15169">Issue #15169</a>, <a class="reference external" href="https://bugs.python.org/14599">issue #14599</a>: Strip out the C implementation of
<a class="reference internal" href="../library/imp.html#imp.source_from_cache" title="imp.source_from_cache"><tt class="xref py py-obj docutils literal"><span class="pre">imp.source_from_cache()</span></tt></a> used by PyImport_ExecCodeModuleWithPathnames() and
used the Python code instead. Leads to PyImport_ExecCodeModuleObject() to not
try to infer the source path from the bytecode path as
PyImport_ExecCodeModuleWithPathnames() does.</li>
</ul>
</div>
<div class="section" id="id113">
<h3>Extension Modules<a class="headerlink" href="#id113" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/6493">Issue #6493</a>: An issue in ctypes on Windows that caused structure bitfields of
type <a class="reference internal" href="../library/ctypes.html#ctypes.c_uint32" title="ctypes.c_uint32"><tt class="xref py py-obj docutils literal"><span class="pre">ctypes.c_uint32</span></tt></a> and width 32 to incorrectly be set has been fixed.</li>
<li><a class="reference external" href="https://bugs.python.org/15194">Issue #15194</a>: Update libffi to the 3.0.11 release.</li>
</ul>
</div>
<div class="section" id="id114">
<h3>IDLE<a class="headerlink" href="#id114" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/13052">Issue #13052</a>: Fix IDLE crashing when replace string in Search/Replace dialog
ended with <tt class="docutils literal"><span class="pre">\</span></tt>.  Patch by Roger Serwy.</li>
</ul>
</div>
<div class="section" id="id115">
<h3>Tools/Demos<a class="headerlink" href="#id115" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15458">Issue #15458</a>: python-config gets a new option &#8211;configdir to print the $LIBPL
value.</li>
<li>Move importlib.test.benchmark to Tools/importbench.</li>
<li><a class="reference external" href="https://bugs.python.org/12605">Issue #12605</a>: The gdb hooks for debugging CPython (within Tools/gdb) have been
enhanced to show information on more C frames relevant to CPython within the
&#8220;py-bt&#8221; and &#8220;py-bt-full&#8221; commands:<ul>
<li>C frames that are waiting on the GIL</li>
<li>C frames that are garbage-collecting</li>
<li>C frames that are due to the invocation of a PyCFunction</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id116">
<h3>Documentation<a class="headerlink" href="#id116" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15041">Issue #15041</a>: Update &#8220;see also&#8221; list in tkinter documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/15444">Issue #15444</a>: Use proper spelling for non-ASCII contributor names.  Patch by
Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15295">Issue #15295</a>: Reorganize and rewrite the documentation on the import system.</li>
<li><a class="reference external" href="https://bugs.python.org/15230">Issue #15230</a>: Clearly document some of the limitations of the runpy module and
nudge readers towards importlib when appropriate.</li>
<li><a class="reference external" href="https://bugs.python.org/15053">Issue #15053</a>: Copy Python 3.3 import lock change notice to all relevant
functions in imp instead of just at the top of the relevant section.</li>
<li><a class="reference external" href="https://bugs.python.org/15288">Issue #15288</a>: Link to the term &#8220;loader&#8221; in notes in pkgutil about how things
won&#8217;t work as expected in Python 3.3 and mark the requisite functions as
&#8220;changed&#8221; since they will no longer work with modules directly imported by
import itself.</li>
<li><a class="reference external" href="https://bugs.python.org/13557">Issue #13557</a>: Clarify effect of giving two different namespaces to <a class="reference internal" href="../library/functions.html#exec" title="exec"><tt class="xref py py-obj docutils literal"><span class="pre">exec()</span></tt></a> or
<tt class="xref py py-obj docutils literal"><span class="pre">execfile()</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/15250">Issue #15250</a>: Document that <a class="reference internal" href="../library/filecmp.html#filecmp.dircmp" title="filecmp.dircmp"><tt class="xref py py-obj docutils literal"><span class="pre">filecmp.dircmp()</span></tt></a> compares files shallowly. Patch
contributed by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/15442">Issue #15442</a>: Expose the default list of directories ignored by
<a class="reference internal" href="../library/filecmp.html#filecmp.dircmp" title="filecmp.dircmp"><tt class="xref py py-obj docutils literal"><span class="pre">filecmp.dircmp()</span></tt></a> as a module attribute, and expand the list to more modern
values.</li>
</ul>
</div>
<div class="section" id="id117">
<h3>Tests<a class="headerlink" href="#id117" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15467">Issue #15467</a>: Move helpers for <tt class="xref py py-obj docutils literal"><span class="pre">__sizeof__()</span></tt> tests into test_support.  Patch
by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15320">Issue #15320</a>: Make iterating the list of tests thread-safe when running tests
in multiprocess mode. Patch by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/15168">Issue #15168</a>: Move <tt class="xref py py-obj docutils literal"><span class="pre">importlib.test</span></tt> to <tt class="xref py py-obj docutils literal"><span class="pre">test.test_importlib</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/15091">Issue #15091</a>: Reactivate a test on UNIX which was failing thanks to a
forgotten <a class="reference internal" href="../library/importlib.html#importlib.invalidate_caches" title="importlib.invalidate_caches"><tt class="xref py py-obj docutils literal"><span class="pre">importlib.invalidate_caches()</span></tt></a> call.</li>
<li><a class="reference external" href="https://bugs.python.org/15230">Issue #15230</a>: Adopted a more systematic approach in the runpy tests.</li>
<li><a class="reference external" href="https://bugs.python.org/15300">Issue #15300</a>: Ensure the temporary test working directories are in the same
parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.</li>
<li><a class="reference external" href="https://bugs.python.org/15284">Issue #15284</a>: Skip {send,recv}msg tests in test_socket when IPv6 is not
enabled. Patch by Brian Brazil.</li>
<li><a class="reference external" href="https://bugs.python.org/15277">Issue #15277</a>: Fix a resource leak in support.py when IPv6 is disabled.  Patch
by Brian Brazil.</li>
</ul>
</div>
<div class="section" id="id118">
<h3>Build<a class="headerlink" href="#id118" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/11715">Issue #11715</a>: Fix multiarch detection without having Debian development tools
(dpkg-dev) installed.</li>
<li><a class="reference external" href="https://bugs.python.org/15037">Issue #15037</a>: Build OS X installers with local copy of ncurses 5.9 libraries
to avoid curses.unget_wch bug present in older versions of ncurses such as
those shipped with OS X.</li>
<li><a class="reference external" href="https://bugs.python.org/15560">Issue #15560</a>: Fix building _sqlite3 extension on OS X with an SDK.  Also, for
OS X installers, ensure consistent sqlite3 behavior and feature availability
by building a local copy of libsqlite3 rather than depending on the wide range
of versions supplied with various OS X releases.</li>
<li><a class="reference external" href="https://bugs.python.org/8847">Issue #8847</a>: Disable COMDAT folding in Windows PGO builds.</li>
<li><a class="reference external" href="https://bugs.python.org/14018">Issue #14018</a>: Fix OS X Tcl/Tk framework checking when using OS X SDKs.</li>
<li><a class="reference external" href="https://bugs.python.org/16256">Issue #16256</a>: OS X installer now sets correct permissions for doc directory.</li>
<li><a class="reference external" href="https://bugs.python.org/15431">Issue #15431</a>: Add _freeze_importlib project to regenerate importlib.h on
Windows. Patch by Kristján Valur Jónsson.</li>
<li><a class="reference external" href="https://bugs.python.org/14197">Issue #14197</a>: For OS X framework builds, ensure links to the shared library
are created with the proper ABI suffix.</li>
<li><a class="reference external" href="https://bugs.python.org/14330">Issue #14330</a>: For cross builds, don&#8217;t use host python, use host search paths
for host compiler.</li>
<li><a class="reference external" href="https://bugs.python.org/15235">Issue #15235</a>: Allow Berkley DB versions up to 5.3 to build the dbm module.</li>
<li><a class="reference external" href="https://bugs.python.org/15268">Issue #15268</a>: Search curses.h in /usr/include/ncursesw.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-beta-1">
<h2>Python 3.3.0 Beta 1<a class="headerlink" href="#python-3-3-0-beta-1" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 27-Jun-2012</em></p>
<div class="section" id="id119">
<h3>Core and Builtins<a class="headerlink" href="#id119" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fix a (most likely) very rare memory leak when calling main() and not being
able to decode a command-line argument.</li>
<li><a class="reference external" href="https://bugs.python.org/14815">Issue #14815</a>: Use Py_ssize_t instead of long for the object hash, to
preserve all 64 bits of hash on Win64.</li>
<li><a class="reference external" href="https://bugs.python.org/12268">Issue #12268</a>: File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.</li>
<li><a class="reference external" href="https://bugs.python.org/11626">Issue #11626</a>: Add _SizeT functions to stable ABI.</li>
<li><a class="reference external" href="https://bugs.python.org/15142">Issue #15142</a>: Fix reference leak when deallocating instances of types
created using PyType_FromSpec().</li>
<li><a class="reference external" href="https://bugs.python.org/10053">Issue #10053</a>: Don&#8217;t close FDs when FileIO.__init__ fails. Loosely based on
the work by Hirokazu Yamamoto.</li>
<li><a class="reference external" href="https://bugs.python.org/15096">Issue #15096</a>: Removed support for ur&#8217;&#8217; as the raw notation isn&#8217;t
compatible with Python 2.x&#8217;s raw unicode strings.</li>
<li><a class="reference external" href="https://bugs.python.org/13783">Issue #13783</a>: Generator objects now use the identifier APIs internally</li>
<li><a class="reference external" href="https://bugs.python.org/14874">Issue #14874</a>: Restore charmap decoding speed to pre-PEP 393 levels.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15026">Issue #15026</a>: utf-16 encoding is now significantly faster (up to 10x).
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/11022">Issue #11022</a>: open() and io.TextIOWrapper are now calling
locale.getpreferredencoding(False) instead of locale.getpreferredencoding()
in text mode if the encoding is not specified. Don&#8217;t change temporary the
locale encoding using locale.setlocale(), use the current locale encoding
instead of the user preferred encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/14673">Issue #14673</a>: Add Eric Snow&#8217;s sys.implementation implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/15038">Issue #15038</a>: Optimize python Locks on Windows.</li>
</ul>
</div>
<div class="section" id="id120">
<h3>Library<a class="headerlink" href="#id120" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/12288">Issue #12288</a>: Consider &#8216;0&#8217; and &#8216;0.0&#8217; as valid initialvalue
for tkinter SimpleDialog.</li>
<li><a class="reference external" href="https://bugs.python.org/15512">Issue #15512</a>: Add a __sizeof__ implementation for parser.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15469">Issue #15469</a>: Add a __sizeof__ implementation for deque objects.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15489">Issue #15489</a>: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15487">Issue #15487</a>: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15514">Issue #15514</a>: Correct __sizeof__ support for cpu_set.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15177">Issue #15177</a>: Added dir_fd parameter to os.fwalk().</li>
<li><a class="reference external" href="https://bugs.python.org/15061">Issue #15061</a>: Re-implemented hmac.compare_digest() in C to prevent further
timing analysis and to support all buffer protocol aware objects as well as
ASCII only str instances safely.</li>
<li><a class="reference external" href="https://bugs.python.org/15164">Issue #15164</a>: Change return value of platform.uname() from a
plain tuple to a collections.namedtuple.</li>
<li>Support Mageia Linux in the platform module.</li>
<li><a class="reference external" href="https://bugs.python.org/11678">Issue #11678</a>: Support Arch linux in the platform module.</li>
<li><a class="reference external" href="https://bugs.python.org/15118">Issue #15118</a>: Change return value of os.uname() and os.times() from
plain tuples to immutable iterable objects with named attributes
(structseq objects).</li>
<li>Speed up _decimal by another 10-15% by caching the thread local context
that was last accessed. In the pi benchmark (64-bit platform, prec=9),
_decimal is now only 1.5x slower than float.</li>
<li>Remove the packaging module, which is not ready for prime time.</li>
<li><a class="reference external" href="https://bugs.python.org/15154">Issue #15154</a>: Add &#8220;dir_fd&#8221; parameter to os.rmdir, remove &#8220;rmdir&#8221;
parameter from os.remove / os.unlink.</li>
<li><a class="reference external" href="https://bugs.python.org/4489">Issue #4489</a>: Add a shutil.rmtree that isn&#8217;t susceptible to symlink attacks.
It is used automatically on platforms supporting the necessary os.openat()
and os.unlinkat() functions. Main code by Martin von Löwis.</li>
<li><a class="reference external" href="https://bugs.python.org/15156">Issue #15156</a>: HTMLParser now uses the new &#8220;html.entities.html5&#8221; dictionary.</li>
<li><a class="reference external" href="https://bugs.python.org/11113">Issue #11113</a>: add a new &#8220;html5&#8221; dictionary containing the named character
references defined by the HTML5 standard and the equivalent Unicode
character(s) to the html.entities module.</li>
<li><a class="reference external" href="https://bugs.python.org/15114">Issue #15114</a>: the strict mode of HTMLParser and the HTMLParseError exception
are deprecated now that the parser is able to parse invalid markup.</li>
<li><a class="reference external" href="https://bugs.python.org/3665">Issue #3665</a>: u and U escapes are now supported in unicode regular
expressions.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15153">Issue #15153</a>: Added inspect.getgeneratorlocals to simplify white box
testing of generator state updates</li>
<li><a class="reference external" href="https://bugs.python.org/13062">Issue #13062</a>: Added inspect.getclosurevars to simplify testing stateful
closures</li>
<li><a class="reference external" href="https://bugs.python.org/11024">Issue #11024</a>: Fixes and additional tests for Time2Internaldate.</li>
<li><a class="reference external" href="https://bugs.python.org/14626">Issue #14626</a>: Large refactoring of functions / parameters in the os module.
Many functions now support &#8220;dir_fd&#8221; and &#8220;follow_symlinks&#8221; parameters;
some also support accepting an open file descriptor in place of a path
string.  Added os.support_* collections as LBYL helpers.  Removed many
functions only previously seen in 3.3 alpha releases (often starting with
&#8220;f&#8221; or &#8220;l&#8221;, or ending with &#8220;at&#8221;).  Originally suggested by Serhiy Storchaka;
implemented by Larry Hastings.</li>
<li><a class="reference external" href="https://bugs.python.org/15008">Issue #15008</a>: Implement PEP 362 &#8220;Signature Objects&#8221;.
Patch by Yury Selivanov.</li>
<li>Issue: #15138: base64.urlsafe_{en,de}code() are now 3-4x faster.</li>
<li><a class="reference external" href="https://bugs.python.org/444582">Issue #444582</a>: Add shutil.which, for finding programs on the system path.
Original patch by Erik Demaine, with later iterations by Jan Killian
and Brian Curtin.</li>
<li><a class="reference external" href="https://bugs.python.org/14837">Issue #14837</a>: SSL errors now have <tt class="docutils literal"><span class="pre">library</span></tt> and <tt class="docutils literal"><span class="pre">reason</span></tt> attributes
describing precisely what happened and in which OpenSSL submodule.  The
str() of a SSLError is also enhanced accordingly.</li>
<li><a class="reference external" href="https://bugs.python.org/9527">Issue #9527</a>: datetime.astimezone() method will now supply a class
timezone instance corresponding to the system local timezone when
called with no arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/14653">Issue #14653</a>: email.utils.mktime_tz() no longer relies on system
mktime() when timezone offest is supplied.</li>
<li><a class="reference external" href="https://bugs.python.org/14684">Issue #14684</a>: zlib.compressobj() and zlib.decompressobj() now support the use
of predefined compression dictionaries. Original patch by Sam Rushing.</li>
<li>Fix GzipFile&#8217;s handling of filenames given as bytes objects.</li>
<li><a class="reference external" href="https://bugs.python.org/14772">Issue #14772</a>: Return destination values from some shutil functions.</li>
<li><a class="reference external" href="https://bugs.python.org/15064">Issue #15064</a>: Implement context manager protocol for multiprocessing types</li>
<li><a class="reference external" href="https://bugs.python.org/15101">Issue #15101</a>: Make pool finalizer avoid joining current thread.</li>
<li><a class="reference external" href="https://bugs.python.org/14657">Issue #14657</a>: The frozen instance of importlib used for bootstrap is now
also the module imported as importlib._bootstrap.</li>
<li><a class="reference external" href="https://bugs.python.org/14055">Issue #14055</a>: Add __sizeof__ support to _elementtree.</li>
<li><a class="reference external" href="https://bugs.python.org/15054">Issue #15054</a>: A bug in tokenize.tokenize that caused string literals
with &#8216;b&#8217; prefixes to be incorrectly tokenized has been fixed.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/15006">Issue #15006</a>: Allow equality comparison between naive and aware
time or datetime objects.</li>
<li><a class="reference external" href="https://bugs.python.org/15036">Issue #15036</a>: Mailbox no longer throws an error if a flush is done
between operations when removing or changing multiple items in mbox,
MMDF, or Babyl mailboxes.</li>
<li><a class="reference external" href="https://bugs.python.org/14059">Issue #14059</a>: Implement multiprocessing.Barrier.</li>
<li><a class="reference external" href="https://bugs.python.org/15061">Issue #15061</a>: The inappropriately named hmac.secure_compare has been
renamed to hmac.compare_digest, restricted to operating on bytes inputs
only and had its documentation updated to more accurately reflect both its
intent and its limitations</li>
<li><a class="reference external" href="https://bugs.python.org/13841">Issue #13841</a>: Make child processes exit using sys.exit() on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/14936">Issue #14936</a>: curses_panel was converted to PEP 3121 and PEP 384 API.
Patch by Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/1667546">Issue #1667546</a>: On platforms supporting tm_zone and tm_gmtoff fields
in struct tm, time.struct_time objects returned by time.gmtime(),
time.localtime() and time.strptime() functions now have tm_zone and
tm_gmtoff attributes.  Original patch by Paul Boddie.</li>
<li>Rename adjusted attribute to adjustable in time.get_clock_info() result.</li>
<li><a class="reference external" href="https://bugs.python.org/3518">Issue #3518</a>: Remove references to non-existent BaseManager.from_address()
method.</li>
<li><a class="reference external" href="https://bugs.python.org/13857">Issue #13857</a>: Added textwrap.indent() function (initial patch by Ezra
Berch)</li>
<li><a class="reference external" href="https://bugs.python.org/2736">Issue #2736</a>: Added datetime.timestamp() method.</li>
<li><a class="reference external" href="https://bugs.python.org/13854">Issue #13854</a>: Make multiprocessing properly handle non-integer
non-string argument to SystemExit.</li>
<li><a class="reference external" href="https://bugs.python.org/12157">Issue #12157</a>: Make pool.map() empty iterables correctly.  Initial
patch by mouad.</li>
<li><a class="reference external" href="https://bugs.python.org/11823">Issue #11823</a>: disassembly now shows argument counts on calls with keyword args.</li>
<li><a class="reference external" href="https://bugs.python.org/14711">Issue #14711</a>: os.stat_float_times() has been deprecated.</li>
<li>LZMAFile now accepts the modes &#8220;rb&#8221;/&#8221;wb&#8221;/&#8221;ab&#8221; as synonyms of &#8220;r&#8221;/&#8221;w&#8221;/&#8221;a&#8221;.</li>
<li>The bz2 and lzma modules now each contain an open() function, allowing
compressed files to readily be opened in text mode as well as binary mode.</li>
<li>BZ2File.__init__() and LZMAFile.__init__() now accept a file object as their
first argument, rather than requiring a separate &#8220;fileobj&#8221; argument.</li>
<li>gzip.open() now accepts file objects as well as filenames.</li>
<li><a class="reference external" href="https://bugs.python.org/14992">Issue #14992</a>: os.makedirs(path, exist_ok=True) would raise an OSError
when the path existed and had the S_ISGID mode bit set when it was
not explicitly asked for.  This is no longer an exception as mkdir
cannot control if the OS sets that bit for it or not.</li>
<li><a class="reference external" href="https://bugs.python.org/14989">Issue #14989</a>: Make the CGI enable option to http.server available via command
line.</li>
<li><a class="reference external" href="https://bugs.python.org/14987">Issue #14987</a>: Add a missing import statement to inspect.</li>
<li><a class="reference external" href="https://bugs.python.org/1079">Issue #1079</a>: email.header.decode_header now correctly parses all the examples
in RFC2047.  There is a necessary visible behavior change: the leading and/or
trailing whitespace on ASCII parts is now preserved.</li>
<li><a class="reference external" href="https://bugs.python.org/14969">Issue #14969</a>: Better handling of exception chaining in contextlib.ExitStack</li>
<li><a class="reference external" href="https://bugs.python.org/14963">Issue #14963</a>: Convert contextlib.ExitStack.__exit__ to use an iterative
algorithm (Patch by Alon Horev)</li>
<li><a class="reference external" href="https://bugs.python.org/14785">Issue #14785</a>: Add sys._debugmallocstats() to help debug low-level memory
allocation issues</li>
<li><a class="reference external" href="https://bugs.python.org/14443">Issue #14443</a>: Ensure that .py files are byte-compiled with the correct Python
executable within bdist_rpm even on older versions of RPM</li>
</ul>
</div>
<div class="section" id="id121">
<h3>C-API<a class="headerlink" href="#id121" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15146">Issue #15146</a>: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/15042">Issue #15042</a>: Add PyState_AddModule and PyState_RemoveModule. Add version
guard for Py_LIMITED_API additions. Patch by Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/13783">Issue #13783</a>: Inadvertent additions to the public C API in the PEP 380
implementation have either been removed or marked as private interfaces.</li>
</ul>
</div>
<div class="section" id="id122">
<h3>Extension Modules<a class="headerlink" href="#id122" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15000">Issue #15000</a>: Support the &#8220;unique&#8221; x32 architecture in _posixsubprocess.c.</li>
</ul>
</div>
<div class="section" id="id123">
<h3>IDLE<a class="headerlink" href="#id123" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/9803">Issue #9803</a>: Don&#8217;t close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/14962">Issue #14962</a>: Update text coloring in IDLE shell window after changing
options.  Patch by Roger Serwy.</li>
</ul>
</div>
<div class="section" id="id124">
<h3>Documentation<a class="headerlink" href="#id124" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15176">Issue #15176</a>: Clarified behavior, documentation, and implementation
of os.listdir().</li>
<li><a class="reference external" href="https://bugs.python.org/14982">Issue #14982</a>: Document that pkgutil&#8217;s iteration functions require the
non-standard iter_modules() method to be defined by an importer (something
the importlib importers do not define).</li>
<li><a class="reference external" href="https://bugs.python.org/15081">Issue #15081</a>: Document PyState_FindModule.
Patch by Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/14814">Issue #14814</a>: Added first draft of ipaddress module API reference</li>
</ul>
</div>
<div class="section" id="id125">
<h3>Tests<a class="headerlink" href="#id125" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/15187">Issue #15187</a>: Bugfix: remove temporary directories test_shutil was leaving
behind.</li>
<li><a class="reference external" href="https://bugs.python.org/14769">Issue #14769</a>: test_capi now has SkipitemTest, which cleverly checks
for &#8220;parity&#8221; between PyArg_ParseTuple() and the Python/getargs.c static
function skipitem() for all possible &#8220;format units&#8221;.</li>
<li>test_nntplib now tolerates being run from behind NNTP gateways that add
&#8220;X-Antivirus&#8221; headers to articles</li>
<li><a class="reference external" href="https://bugs.python.org/15043">Issue #15043</a>: test_gdb is now skipped entirely if gdb security settings
block loading of the gdb hooks</li>
<li><a class="reference external" href="https://bugs.python.org/14963">Issue #14963</a>: Add test cases for exception handling behaviour
in contextlib.ExitStack (Initial patch by Alon Horev)</li>
</ul>
</div>
<div class="section" id="id126">
<h3>Build<a class="headerlink" href="#id126" title="Permalink to this headline">¶</a></h3>
<ul>
<li><dl class="first docutils">
<dt><a class="reference external" href="https://bugs.python.org/13590">Issue #13590</a>: Improve support for OS X Xcode 4:</dt>
<dd><ul class="first last simple">
<li>Try to avoid building Python or extension modules with problematic
llvm-gcc compiler.</li>
<li>Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and automatically remove ppc and
ppc64 archs when not available.</li>
<li>Since Xcode 4 no longer install SDKs in default locations,
extension module builds now revert to using installed headers
and libs if the SDK used to build the interpreter is not
available.</li>
<li>Update ./configure to use better defaults for universal builds;
in particular, &#8211;enable-universalsdk=yes uses the Xcode default
SDK and &#8211;with-universal-archs now defaults to &#8220;intel&#8221; if ppc
not available.</li>
</ul>
</dd>
</dl>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14225">Issue #14225</a>: Fix Unicode support for curses (#12567) on OS X</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14928">Issue #14928</a>: Fix importlib bootstrap issues by using a custom executable
(Modules/_freeze_importlib) to build Python/importlib.h.</p>
</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-alpha-4">
<h2>Python 3.3.0 Alpha 4<a class="headerlink" href="#python-3-3-0-alpha-4" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 31-May-2012</em></p>
<div class="section" id="id127">
<h3>Core and Builtins<a class="headerlink" href="#id127" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14835">Issue #14835</a>: Make plistlib output empty arrays &amp; dicts like OS X.
Patch by Sidney San Martín.</li>
<li><a class="reference external" href="https://bugs.python.org/14744">Issue #14744</a>: Use the new _PyUnicodeWriter internal API to speed up
str%args and str.format(args).</li>
<li><a class="reference external" href="https://bugs.python.org/14930">Issue #14930</a>: Make memoryview objects weakrefable.</li>
<li><a class="reference external" href="https://bugs.python.org/14775">Issue #14775</a>: Fix a potential quadratic dict build-up due to the garbage
collector repeatedly trying to untrack dicts.</li>
<li><a class="reference external" href="https://bugs.python.org/14857">Issue #14857</a>: fix regression in references to PEP 3135 implicit __class__
closure variable (Reopens <a class="reference external" href="https://bugs.python.org/12370">issue #12370</a>)</li>
<li><a class="reference external" href="https://bugs.python.org/14712">Issue #14712</a> (PEP 405): Virtual environments. Implemented by Vinay Sajip.</li>
<li><a class="reference external" href="https://bugs.python.org/14660">Issue #14660</a> (PEP 420): Namespace packages. Implemented by Eric Smith.</li>
<li><a class="reference external" href="https://bugs.python.org/14494">Issue #14494</a>: Fix __future__.py and its documentation to note that
absolute imports are the default behavior in 3.0 instead of 2.7.
Patch by Sven Marnach.</li>
<li><a class="reference external" href="https://bugs.python.org/9260">Issue #9260</a>: A finer-grained import lock.  Most of the import sequence
now uses per-module locks rather than the global import lock, eliminating
well-known issues with threads and imports.</li>
<li><a class="reference external" href="https://bugs.python.org/14624">Issue #14624</a>: UTF-16 decoding is now 3x to 4x faster on various inputs.
Patch by Serhiy Storchaka.</li>
<li>asdl_seq and asdl_int_seq are now Py_ssize_t sized.</li>
<li><a class="reference external" href="https://bugs.python.org/14133">Issue #14133</a> (PEP 415): Implement suppression of __context__ display with an
attribute on BaseException. This replaces the original mechanism of PEP 409.</li>
<li><a class="reference external" href="https://bugs.python.org/14417">Issue #14417</a>: Mutating a dict during lookup now restarts the lookup instead
of raising a RuntimeError (undoes <a class="reference external" href="https://bugs.python.org/14205">issue #14205</a>).</li>
<li><a class="reference external" href="https://bugs.python.org/14738">Issue #14738</a>: Speed-up UTF-8 decoding on non-ASCII data.  Patch by Serhiy
Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/14700">Issue #14700</a>: Fix two broken and undefined-behaviour-inducing overflow checks
in old-style string formatting.</li>
</ul>
</div>
<div class="section" id="id128">
<h3>Library<a class="headerlink" href="#id128" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14690">Issue #14690</a>: Use monotonic clock instead of system clock in the sched,
subprocess and trace modules.</li>
<li><a class="reference external" href="https://bugs.python.org/14443">Issue #14443</a>: Tell rpmbuild to use the correct version of Python in
bdist_rpm. Initial patch by Ross Lagerwall.</li>
<li><a class="reference external" href="https://bugs.python.org/12515">Issue #12515</a>: email now registers a defect if it gets to EOF while parsing
a MIME part without seeing the closing MIME boundary.</li>
<li><a class="reference external" href="https://bugs.python.org/1672568">Issue #1672568</a>: email now always decodes base64 payloads, adding padding and
ignoring non-base64-alphabet characters if needed, and registering defects
for any such problems.</li>
<li><a class="reference external" href="https://bugs.python.org/14925">Issue #14925</a>: email now registers a defect when the parser decides that there
is a missing header/body separator line.  MalformedHeaderDefect, which the
existing code would never actually generate, is deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/10365">Issue #10365</a>: File open dialog now works instead of crashing even when
the parent window is closed before the dialog. Patch by Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/8739">Issue #8739</a>: Updated smtpd to support RFC 5321, and added support for the
RFC 1870 SIZE extension.</li>
<li><a class="reference external" href="https://bugs.python.org/665194">Issue #665194</a>: Added a localtime function to email.utils to provide an
aware local datetime for use in setting Date headers.</li>
<li><a class="reference external" href="https://bugs.python.org/12586">Issue #12586</a>: Added new provisional policies that implement convenient
unicode support for email headers.  See What&#8217;s New for details.</li>
<li><a class="reference external" href="https://bugs.python.org/14731">Issue #14731</a>: Refactored email Policy framework to support full backward
compatibility with Python 3.2 by default yet allow for the introduction of
new features through new policies.  Note that Policy.must_be_7bit is renamed
to cte_type.</li>
<li><a class="reference external" href="https://bugs.python.org/14876">Issue #14876</a>: Use user-selected font for highlight configuration.</li>
<li><a class="reference external" href="https://bugs.python.org/14920">Issue #14920</a>: Fix the help(urllib.parse) failure on locale C on terminals.
Have ascii characters in help.</li>
<li><a class="reference external" href="https://bugs.python.org/14548">Issue #14548</a>: Make multiprocessing finalizers check pid before
running to cope with possibility of gc running just after fork.</li>
<li><a class="reference external" href="https://bugs.python.org/14036">Issue #14036</a>: Add an additional check to validate that port in urlparse does
not go in illegal range and returns None.</li>
<li><a class="reference external" href="https://bugs.python.org/14862">Issue #14862</a>: Add missing names to os.__all__</li>
<li><a class="reference external" href="https://bugs.python.org/14875">Issue #14875</a>: Use float(&#8216;inf&#8217;) instead of float(&#8216;1e66666&#8217;) in the json module.</li>
<li><a class="reference external" href="https://bugs.python.org/13585">Issue #13585</a>: Added contextlib.ExitStack</li>
<li>PEP 3144, <a class="reference external" href="https://bugs.python.org/14814">Issue #14814</a>: Added the ipaddress module</li>
<li><a class="reference external" href="https://bugs.python.org/14426">Issue #14426</a>: Correct the Date format in Expires attribute of Set-Cookie
Header in Cookie.py.</li>
<li><a class="reference external" href="https://bugs.python.org/14588">Issue #14588</a>: The types module now provide new_class() and prepare_class()
functions to support PEP 3115 compliant dynamic class creation. Patch by
Daniel Urban and Nick Coghlan.</li>
<li><a class="reference external" href="https://bugs.python.org/13152">Issue #13152</a>: Allow to specify a custom tabsize for expanding tabs in
textwrap. Patch by John Feuerstein.</li>
<li><a class="reference external" href="https://bugs.python.org/14721">Issue #14721</a>: Send the correct &#8216;Content-length: 0&#8217; header when the body is an
empty string &#8216;&#8217;. Initial Patch contributed by Arve Knudsen.</li>
<li><a class="reference external" href="https://bugs.python.org/14072">Issue #14072</a>: Fix parsing of &#8216;tel&#8217; URIs in urlparse by making the check for
ports stricter.</li>
<li><a class="reference external" href="https://bugs.python.org/9374">Issue #9374</a>: Generic parsing of query and fragment portions of url for any
scheme. Supported both by RFC3986 and RFC2396.</li>
<li><a class="reference external" href="https://bugs.python.org/14798">Issue #14798</a>: Fix the functions in pyclbr to raise an ImportError
when the first part of a dotted name is not a package. Patch by
Xavier de Gaye.</li>
<li><a class="reference external" href="https://bugs.python.org/12098">Issue #12098</a>: multiprocessing on Windows now starts child processes
using the same sys.flags as the current process.  Initial patch by
Sergey Mezentsev.</li>
<li><a class="reference external" href="https://bugs.python.org/13031">Issue #13031</a>: Small speed-up for tarfile when unzipping tarfiles.
Patch by Justin Peel.</li>
<li><a class="reference external" href="https://bugs.python.org/14780">Issue #14780</a>: urllib.request.urlopen() now has a <tt class="docutils literal"><span class="pre">cadefault</span></tt> argument
to use the default certificate store.  Initial patch by James Oakley.</li>
<li><a class="reference external" href="https://bugs.python.org/14829">Issue #14829</a>: Fix bisect and range() indexing with large indices
(&gt;= 2 ** 32) under 64-bit Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/14732">Issue #14732</a>: The _csv module now uses PEP 3121 module initialization.
Patch by Robin Schreiber.</li>
<li><a class="reference external" href="https://bugs.python.org/14809">Issue #14809</a>: Add HTTP status codes introduced by RFC 6585 to http.server
and http.client. Patch by EungJun Yi.</li>
<li><a class="reference external" href="https://bugs.python.org/14777">Issue #14777</a>: tkinter may return undecoded UTF-8 bytes as a string when
accessing the Tk clipboard.  Modify clipboad_get() to first request type
UTF8_STRING when no specific type is requested in an X11 windowing
environment, falling back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.</li>
<li><a class="reference external" href="https://bugs.python.org/14773">Issue #14773</a>: Fix os.fwalk() failing on dangling symlinks.</li>
<li><a class="reference external" href="https://bugs.python.org/12541">Issue #12541</a>: Be lenient with quotes around Realm field of HTTP Basic
Authentation in urllib2.</li>
<li><a class="reference external" href="https://bugs.python.org/14807">Issue #14807</a>: move undocumented tarfile.filemode() to stat.filemode() and add
doc entry. Add tarfile.filemode alias with deprecation warning.</li>
<li><a class="reference external" href="https://bugs.python.org/13815">Issue #13815</a>: TarFile.extractfile() now returns io.BufferedReader objects.</li>
<li><a class="reference external" href="https://bugs.python.org/14532">Issue #14532</a>: Add a secure_compare() helper to the hmac module, to mitigate
timing attacks. Patch by Jon Oberheide.</li>
<li>Add importlib.util.resolve_name().</li>
<li><a class="reference external" href="https://bugs.python.org/14366">Issue #14366</a>: Support lzma compression in zip files.
Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/13959">Issue #13959</a>: Introduce importlib.find_loader() and document
imp.find_module/load_module as deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/14082">Issue #14082</a>: shutil.copy2() now copies extended attributes, if possible.
Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/13959">Issue #13959</a>: Make importlib.abc.FileLoader.load_module()/get_filename() and
importlib.machinery.ExtensionFileLoader.load_module() have their single
argument be optional. Allows for the replacement (and thus deprecation) of
imp.load_source()/load_package()/load_compiled().</li>
<li><a class="reference external" href="https://bugs.python.org/13959">Issue #13959</a>: imp.get_suffixes() has been deprecated in favour of the new
attributes on importlib.machinery: SOURCE_SUFFIXES, DEBUG_BYTECODE_SUFFIXES,
OPTIMIZED_BYTECODE_SUFFIXES, BYTECODE_SUFFIXES, and EXTENSION_SUFFIXES. This
led to an indirect deprecation of inspect.getmoduleinfo().</li>
<li><a class="reference external" href="https://bugs.python.org/14662">Issue #14662</a>: Prevent shutil failures on OS X when destination does not
support chflag operations.  Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/14157">Issue #14157</a>: Fix time.strptime failing without a year on February 29th.
Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/14753">Issue #14753</a>: Make multiprocessing&#8217;s handling of negative timeouts
the same as it was in Python 3.2.</li>
<li><a class="reference external" href="https://bugs.python.org/14583">Issue #14583</a>: Fix importlib bug when a package&#8217;s __init__.py would first
import one of its modules then raise an error.</li>
<li><a class="reference external" href="https://bugs.python.org/14741">Issue #14741</a>: Fix missing support for Ellipsis (&#8216;...&#8217;) in parser module.</li>
<li><a class="reference external" href="https://bugs.python.org/14697">Issue #14697</a>: Fix missing support for set displays and set comprehensions in
parser module.</li>
<li><a class="reference external" href="https://bugs.python.org/14701">Issue #14701</a>: Fix missing support for &#8216;raise ... from&#8217; in parser module.</li>
<li>Add support for timeouts to the acquire() methods of
multiprocessing&#8217;s lock/semaphore/condition proxies.</li>
<li><a class="reference external" href="https://bugs.python.org/13989">Issue #13989</a>: Add support for text mode to gzip.open().</li>
<li><a class="reference external" href="https://bugs.python.org/14127">Issue #14127</a>: The os.stat() result object now provides three additional
fields: st_ctime_ns, st_mtime_ns, and st_atime_ns, providing those times as an
integer with nanosecond resolution.  The functions os.utime(), os.lutimes(),
and os.futimes() now accept a new parameter, ns, which accepts mtime and atime
as integers with nanosecond resolution.</li>
<li><a class="reference external" href="https://bugs.python.org/14127">Issue #14127</a> and #10148: shutil.copystat now preserves exact mtime and atime
on filesystems providing nanosecond resolution.</li>
</ul>
</div>
<div class="section" id="id129">
<h3>IDLE<a class="headerlink" href="#id129" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14958">Issue #14958</a>: Change IDLE systax highlighting to recognize all string and
byte literals supported in Python 3.3.</li>
<li><a class="reference external" href="https://bugs.python.org/10997">Issue #10997</a>: Prevent a duplicate entry in IDLE&#8217;s &#8220;Recent Files&#8221; menu.</li>
<li><a class="reference external" href="https://bugs.python.org/14929">Issue #14929</a>: Stop IDLE 3.x from closing on Unicode decode errors when
grepping. Patch by Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/12510">Issue #12510</a>: Attempting to get invalid tooltip no longer closes IDLE.
Other tooltipss have been corrected or improved and the number of tests
has been tripled. Original patch by Roger Serwy.</li>
</ul>
</div>
<div class="section" id="id130">
<h3>Tools/Demos<a class="headerlink" href="#id130" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14695">Issue #14695</a>: Bring Tools/parser/unparse.py support up to date with
the Python 3.3 Grammar.</li>
</ul>
</div>
<div class="section" id="id131">
<h3>Build<a class="headerlink" href="#id131" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14472">Issue #14472</a>: Update .gitignore. Patch by Matej Cepl.</li>
<li>Upgrade Windows library versions: bzip 1.0.6, OpenSSL 1.0.1c.</li>
<li><a class="reference external" href="https://bugs.python.org/14693">Issue #14693</a>: Under non-Windows platforms, hashlib&#8217;s fallback modules are
always compiled, even if OpenSSL is present at build time.</li>
<li><a class="reference external" href="https://bugs.python.org/13210">Issue #13210</a>: Windows build now uses VS2010, ported from VS2008.</li>
</ul>
</div>
<div class="section" id="id132">
<h3>C-API<a class="headerlink" href="#id132" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14705">Issue #14705</a>: The PyArg_Parse() family of functions now support the &#8216;p&#8217; format
unit, which accepts a &#8220;boolean predicate&#8221; argument.  It converts any Python
value into an integer&#8211;0 if it is &#8220;false&#8221;, and 1 otherwise.</li>
</ul>
</div>
<div class="section" id="id133">
<h3>Documentation<a class="headerlink" href="#id133" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14863">Issue #14863</a>: Update the documentation of os.fdopen() to reflect the
fact that it&#8217;s only a thin wrapper around open() anymore.</li>
<li><a class="reference external" href="https://bugs.python.org/14588">Issue #14588</a>: The language reference now accurately documents the Python 3
class definition process. Patch by Nick Coghlan.</li>
<li><a class="reference external" href="https://bugs.python.org/14943">Issue #14943</a>: Correct a default argument value for winreg.OpenKey
and correctly list the argument names in the function&#8217;s explanation.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-alpha-3">
<h2>Python 3.3.0 Alpha 3<a class="headerlink" href="#python-3-3-0-alpha-3" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 01-May-2012</em></p>
<div class="section" id="id134">
<h3>Core and Builtins<a class="headerlink" href="#id134" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14699">Issue #14699</a>: Fix calling the classmethod descriptor directly.</li>
<li><a class="reference external" href="https://bugs.python.org/14433">Issue #14433</a>: Prevent msvcrt crash in interactive prompt when stdin is closed.</li>
<li><a class="reference external" href="https://bugs.python.org/14521">Issue #14521</a>: Make result of float(&#8216;nan&#8217;) and float(&#8216;-nan&#8217;) more consistent
across platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/14646">Issue #14646</a>: __import__() sets __loader__ if the loader did not.</li>
<li><a class="reference external" href="https://bugs.python.org/14605">Issue #14605</a>: No longer have implicit entries in sys.meta_path. If
sys.meta_path is found to be empty, raise ImportWarning.</li>
<li><a class="reference external" href="https://bugs.python.org/14605">Issue #14605</a>: No longer have implicit entries in sys.path_hooks. If
sys.path_hooks is found to be empty, a warning will be raised. None is now
inserted into sys.path_importer_cache if no finder was discovered. This also
means imp.NullImporter is no longer implicitly used.</li>
<li><a class="reference external" href="https://bugs.python.org/13903">Issue #13903</a>: Implement PEP 412. Individual dictionary instances can now share
their keys with other dictionaries. Classes take advantage of this to share
their instance dictionary keys for improved memory and performance.</li>
<li><a class="reference external" href="https://bugs.python.org/11603">Issue #11603</a> (again): Setting __repr__ to __str__ now raises a RuntimeError
when repr() or str() is called on such an object.</li>
<li><a class="reference external" href="https://bugs.python.org/14658">Issue #14658</a>: Fix binding a special method to a builtin implementation of a
special method with a different name.</li>
<li><a class="reference external" href="https://bugs.python.org/14630">Issue #14630</a>: Fix a memory access bug for instances of a subclass of int
with value 0.</li>
<li><a class="reference external" href="https://bugs.python.org/14339">Issue #14339</a>: Speed improvements to bin, oct and hex functions.  Patch by
Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/14385">Issue #14385</a>: It is now possible to use a custom type for the __builtins__
namespace, instead of a dict. It can be used for sandboxing for example.
Raise also a NameError instead of ImportError if __build_class__ name if not
found in __builtins__.</li>
<li><a class="reference external" href="https://bugs.python.org/12599">Issue #12599</a>: Be more strict in accepting None compared to a false-like
object for importlib.util.module_for_loader and
importlib.machinery.PathFinder.</li>
<li><a class="reference external" href="https://bugs.python.org/14612">Issue #14612</a>: Fix jumping around with blocks by setting f_lineno.</li>
<li><a class="reference external" href="https://bugs.python.org/14592">Issue #14592</a>: Attempting a relative import w/o __package__ or __name__ set in
globals raises a KeyError.</li>
<li><a class="reference external" href="https://bugs.python.org/14607">Issue #14607</a>: Fix keyword-only arguments which started with <tt class="docutils literal"><span class="pre">__</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/10854">Issue #10854</a>: The ImportError raised when an extension module on Windows
fails to import now uses the new path and name attributes from
<a class="reference external" href="https://bugs.python.org/1559549">Issue #1559549</a>.</li>
<li><a class="reference external" href="https://bugs.python.org/13889">Issue #13889</a>: Check and (if necessary) set FPU control word before calling
any of the dtoa.c string &lt;-&gt; float conversion functions, on MSVC builds of
Python.  This fixes issues when embedding Python in a Delphi app.</li>
<li>__import__() now matches PEP 328 and documentation by defaulting &#8216;index&#8217; to 0
instead of -1 and removing support for negative values.</li>
<li><a class="reference external" href="https://bugs.python.org/2377">Issue #2377</a>: Make importlib the implementation of __import__().</li>
<li><a class="reference external" href="https://bugs.python.org/1559549">Issue #1559549</a>: ImportError now has &#8216;name&#8217; and &#8216;path&#8217; attributes that are set
using keyword arguments to its constructor. They are currently not set by
import as they are meant for use by importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/14474">Issue #14474</a>: Save and restore exception state in thread.start_new_thread()
while writing error message if the thread leaves a unhandled exception.</li>
<li><a class="reference external" href="https://bugs.python.org/13019">Issue #13019</a>: Fix potential reference leaks in bytearray.extend().  Patch
by Suman Saha.</li>
</ul>
</div>
<div class="section" id="id135">
<h3>Library<a class="headerlink" href="#id135" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14768">Issue #14768</a>: os.path.expanduser(&#8216;~/a&#8217;) doesn&#8217;t works correctly when HOME is &#8216;/&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/14371">Issue #14371</a>: Support bzip2 in zipfile module.  Patch by Serhiy Storchaka.</li>
<li><a class="reference external" href="https://bugs.python.org/13183">Issue #13183</a>: Fix pdb skipping frames after hitting a breakpoint and running
step.  Patch by Xavier de Gaye.</li>
<li><a class="reference external" href="https://bugs.python.org/14696">Issue #14696</a>: Fix parser module to understand &#8216;nonlocal&#8217; declarations.</li>
<li><a class="reference external" href="https://bugs.python.org/10941">Issue #10941</a>: Fix imaplib.Internaldate2tuple to produce correct result near
the DST transition.  Patch by Joe Peterson.</li>
<li><a class="reference external" href="https://bugs.python.org/9154">Issue #9154</a>: Fix parser module to understand function annotations.</li>
<li><a class="reference external" href="https://bugs.python.org/6085">Issue #6085</a>: In http.server.py SimpleHTTPServer.address_string returns the
client ip address instead client hostname. Patch by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/14309">Issue #14309</a>: Deprecate time.clock(), use time.perf_counter() or
time.process_time() instead.</li>
<li><a class="reference external" href="https://bugs.python.org/14428">Issue #14428</a>: Implement the PEP 418. Add time.get_clock_info(),
time.perf_counter() and time.process_time() functions, and rename
time.steady() to time.monotonic().</li>
<li><a class="reference external" href="https://bugs.python.org/14646">Issue #14646</a>: importlib.util.module_for_loader() now sets __loader__ and
__package__ (when possible).</li>
<li><a class="reference external" href="https://bugs.python.org/14664">Issue #14664</a>: It is now possible to use &#64;unittest.skip{If,Unless} on a
test class that doesn&#8217;t inherit from TestCase (i.e. a mixin).</li>
<li><a class="reference external" href="https://bugs.python.org/4892">Issue #4892</a>: multiprocessing Connections can now be transferred over
multiprocessing Connections.  Patch by Richard Oudkerk (sbt).</li>
<li><a class="reference external" href="https://bugs.python.org/14160">Issue #14160</a>: TarFile.extractfile() failed to resolve symbolic links when
the links were not located in an archive subdirectory.</li>
<li><a class="reference external" href="https://bugs.python.org/14638">Issue #14638</a>: pydoc now treats non-string __name__ values as if they
were missing, instead of raising an error.</li>
<li><a class="reference external" href="https://bugs.python.org/13684">Issue #13684</a>: Fix httplib tunnel issue of infinite loops for certain sites
which send EOF without trailing rn.</li>
<li><a class="reference external" href="https://bugs.python.org/14605">Issue #14605</a>: Add importlib.abc.FileLoader, importlib.machinery.(FileFinder,
SourceFileLoader, SourcelessFileLoader, ExtensionFileLoader).</li>
<li><a class="reference external" href="https://bugs.python.org/13959">Issue #13959</a>: imp.cache_from_source()/source_from_cache() now follow
os.path.join()/split() semantics for path manipulation instead of its prior,
custom semantics of caring the right-most path separator forward in path
joining.</li>
<li><a class="reference external" href="https://bugs.python.org/2193">Issue #2193</a>: Allow &#8221;:&#8221; character in Cookie NAME values.</li>
<li><a class="reference external" href="https://bugs.python.org/14629">Issue #14629</a>: tokenizer.detect_encoding will specify the filename in the
SyntaxError exception if found at readline.__self__.name.</li>
<li><a class="reference external" href="https://bugs.python.org/14629">Issue #14629</a>: Raise SyntaxError in tokenizer.detect_encoding if the
first two lines have non-UTF-8 characters without an encoding declaration.</li>
<li><a class="reference external" href="https://bugs.python.org/14308">Issue #14308</a>: Fix an exception when a &#8220;dummy&#8221; thread is in the threading
module&#8217;s active list after a fork().</li>
<li><a class="reference external" href="https://bugs.python.org/11750">Issue #11750</a>: The Windows API functions scattered in the _subprocess and
_multiprocessing.win32 modules now live in a single module &#8220;_winapi&#8221;.
Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/14087">Issue #14087</a>: multiprocessing: add Condition.wait_for(). Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/14538">Issue #14538</a>: HTMLParser can now parse correctly start tags that contain
a bare &#8216;/&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/14452">Issue #14452</a>: SysLogHandler no longer inserts a UTF-8 BOM into the message.</li>
<li><a class="reference external" href="https://bugs.python.org/14386">Issue #14386</a>: Expose the dict_proxy internal type as types.MappingProxyType.</li>
<li><a class="reference external" href="https://bugs.python.org/13959">Issue #13959</a>: Make imp.reload() always use a module&#8217;s __loader__ to perform
the reload.</li>
<li><a class="reference external" href="https://bugs.python.org/13959">Issue #13959</a>: Add imp.py and rename the built-in module to _imp, allowing for
re-implementing parts of the module in pure Python.</li>
<li><a class="reference external" href="https://bugs.python.org/13496">Issue #13496</a>: Fix potential overflow in bisect.bisect algorithm when applied
to a collection of size &gt; sys.maxsize / 2.</li>
<li>Have importlib take advantage of ImportError&#8217;s new &#8216;name&#8217; and &#8216;path&#8217;
attributes.</li>
<li><a class="reference external" href="https://bugs.python.org/14399">Issue #14399</a>: zipfile now recognizes that the archive has been modified even
if only the comment is changed.  In addition, the TypeError that results from
trying to set a non-binary value as a comment is now raised at the time
the comment is set rather than at the time the zipfile is written.</li>
<li>trace.CoverageResults.is_ignored_filename() now ignores any name that starts
with &#8220;&lt;&#8221; and ends with &#8220;&gt;&#8221; instead of special-casing &#8220;&lt;string&gt;&#8221; and
&#8220;&lt;doctest &#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/12537">Issue #12537</a>: The mailbox module no longer depends on knowledge of internal
implementation details of the email package Message object.</li>
<li><a class="reference external" href="https://bugs.python.org/7978">Issue #7978</a>: socketserver now restarts the select() call when EINTR is
returned.  This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.</li>
<li><a class="reference external" href="https://bugs.python.org/14522">Issue #14522</a>: Avoid duplicating socket handles in multiprocessing.connection.
Patch by sbt.</li>
<li>Don&#8217;t Py_DECREF NULL variable in io.IncrementalNewlineDecoder.</li>
<li><a class="reference external" href="https://bugs.python.org/3033">Issue #3033</a>: Add displayof parameter to tkinter font. Patch by Guilherme Polo.</li>
<li><a class="reference external" href="https://bugs.python.org/14482">Issue #14482</a>: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows.  Patch by Popa Claudiu.</li>
<li><a class="reference external" href="https://bugs.python.org/802310">Issue #802310</a>: Generate always unique tkinter font names if not directly passed.</li>
<li><a class="reference external" href="https://bugs.python.org/14151">Issue #14151</a>: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms.  Patch by Popa Claudiu.</li>
<li><a class="reference external" href="https://bugs.python.org/14493">Issue #14493</a>: Use gvfs-open or xdg-open in webbrowser.</li>
</ul>
</div>
<div class="section" id="id136">
<h3>Build<a class="headerlink" href="#id136" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>&#8220;make touch&#8221; will now touch generated files that are checked into Mercurial,
after a &#8220;hg update&#8221; which failed to bring the timestamps into the right order.</li>
</ul>
</div>
<div class="section" id="id137">
<h3>Tests<a class="headerlink" href="#id137" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14026">Issue #14026</a>: In test_cmd_line_script, check that sys.argv is populated
correctly for the various invocation approaches (Patch by Jason Yeo)</li>
<li><a class="reference external" href="https://bugs.python.org/14032">Issue #14032</a>: Fix incorrect variable name in test_cmd_line_script debugging
message (Patch by Jason Yeo)</li>
<li><a class="reference external" href="https://bugs.python.org/14589">Issue #14589</a>: Update certificate chain for sha256.tbs-internet.com, fixing
a test failure in test_ssl.</li>
<li><a class="reference external" href="https://bugs.python.org/14355">Issue #14355</a>: Regrtest now supports the standard unittest test loading, and
will use it if a test file contains no <tt class="xref py py-obj docutils literal"><span class="pre">test_main</span></tt> method.</li>
</ul>
</div>
<div class="section" id="id138">
<h3>IDLE<a class="headerlink" href="#id138" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/8515">Issue #8515</a>: Set __file__ when run file in IDLE.
Initial patch by Bruce Frederiksen.</li>
<li><a class="reference external" href="https://bugs.python.org/14496">Issue #14496</a>: Fix wrong name in idlelib/tabbedpages.py.
Patch by Popa Claudiu.</li>
</ul>
</div>
<div class="section" id="id139">
<h3>Tools / Demos<a class="headerlink" href="#id139" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/3561">Issue #3561</a>: The Windows installer now has an option, off by default, for
placing the Python installation into the system &#8220;Path&#8221; environment variable.</li>
<li><a class="reference external" href="https://bugs.python.org/13165">Issue #13165</a>: stringbench is now available in the Tools/stringbench folder.
It used to live in its own SVN project.</li>
</ul>
</div>
<div class="section" id="id140">
<h3>C-API<a class="headerlink" href="#id140" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14098">Issue #14098</a>: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.
Patch by Stefan Behnel.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-alpha-2">
<h2>Python 3.3.0 Alpha 2<a class="headerlink" href="#python-3-3-0-alpha-2" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 01-Apr-2012</em></p>
<div class="section" id="id141">
<h3>Core and Builtins<a class="headerlink" href="#id141" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/1683368">Issue #1683368</a>: object.__new__ and object.__init__ raise a TypeError if they
are passed arguments and their complementary method is not overridden.</li>
<li><a class="reference external" href="https://bugs.python.org/14378">Issue #14378</a>: Fix compiling ast.ImportFrom nodes with a &#8220;__future__&#8221; string as
the module name that was not interned.</li>
<li><a class="reference external" href="https://bugs.python.org/14331">Issue #14331</a>: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.</li>
<li><a class="reference external" href="https://bugs.python.org/14334">Issue #14334</a>: Prevent in a segfault in type.__getattribute__ when it was not
passed strings.</li>
<li><a class="reference external" href="https://bugs.python.org/1469629">Issue #1469629</a>: Allow cycles through an object&#8217;s __dict__ slot to be
collected. (For example if <tt class="docutils literal"><span class="pre">x.__dict__</span> <span class="pre">is</span> <span class="pre">x</span></tt>).</li>
<li><a class="reference external" href="https://bugs.python.org/14205">Issue #14205</a>: dict lookup raises a RuntimeError if the dict is modified
during a lookup.</li>
<li><a class="reference external" href="https://bugs.python.org/14220">Issue #14220</a>: When a generator is delegating to another iterator with the
yield from syntax, it needs to have its <tt class="docutils literal"><span class="pre">gi_running</span></tt> flag set to True.</li>
<li><a class="reference external" href="https://bugs.python.org/14435">Issue #14435</a>: Remove dedicated block allocator from floatobject.c and rely
on the PyObject_Malloc() api like all other objects.</li>
<li><a class="reference external" href="https://bugs.python.org/14471">Issue #14471</a>: Fix a possible buffer overrun in the winreg module.</li>
<li><a class="reference external" href="https://bugs.python.org/14288">Issue #14288</a>: Allow the serialization of builtin iterators</li>
</ul>
</div>
<div class="section" id="id142">
<h3>Library<a class="headerlink" href="#id142" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14300">Issue #14300</a>: Under Windows, sockets created using socket.dup() now allow
overlapped I/O.  Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/13872">Issue #13872</a>: socket.detach() now marks the socket closed (as mirrored
in the socket repr()).  Patch by Matt Joiner.</li>
<li><a class="reference external" href="https://bugs.python.org/14406">Issue #14406</a>: Fix a race condition when using <tt class="docutils literal"><span class="pre">concurrent.futures.wait(</span>
<span class="pre">return_when=ALL_COMPLETED)</span></tt>.  Patch by Matt Joiner.</li>
<li><a class="reference external" href="https://bugs.python.org/5136">Issue #5136</a>: deprecate old, unused functions from tkinter.</li>
<li><a class="reference external" href="https://bugs.python.org/14416">Issue #14416</a>: syslog now defines the LOG_ODELAY and LOG_AUTHPRIV constants
if they are defined in &lt;syslog.h&gt;.</li>
<li><a class="reference external" href="https://bugs.python.org/14295">Issue #14295</a>: Add unittest.mock</li>
<li><a class="reference external" href="https://bugs.python.org/7652">Issue #7652</a>: Add &#8211;with-system-libmpdec option to configure for linking
the _decimal module against an installed libmpdec.</li>
<li><a class="reference external" href="https://bugs.python.org/14380">Issue #14380</a>: MIMEText now defaults to utf-8 when passed non-ASCII unicode
with no charset specified.</li>
<li><a class="reference external" href="https://bugs.python.org/10340">Issue #10340</a>: asyncore - properly handle EINVAL in dispatcher constructor on
OSX; avoid to call handle_connect in case of a disconnected socket which
was not meant to connect.</li>
<li><a class="reference external" href="https://bugs.python.org/14204">Issue #14204</a>: The ssl module now has support for the Next Protocol
Negotiation extension, if available in the underlying OpenSSL library.
Patch by Colin Marc.</li>
<li><a class="reference external" href="https://bugs.python.org/3035">Issue #3035</a>: Unused functions from tkinter are marked as pending deprecated.</li>
<li><a class="reference external" href="https://bugs.python.org/12757">Issue #12757</a>: Fix the skipping of doctests when python is run with -OO so
that it works in unittest&#8217;s verbose mode as well as non-verbose mode.</li>
<li><a class="reference external" href="https://bugs.python.org/7652">Issue #7652</a>: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 10x and 100x, depending on the application.</li>
<li><a class="reference external" href="https://bugs.python.org/14269">Issue #14269</a>: SMTPD now conforms to the RFC and requires a HELO command
before MAIL, RCPT, or DATA.</li>
<li><a class="reference external" href="https://bugs.python.org/13694">Issue #13694</a>: asynchronous connect in asyncore.dispatcher does not set addr
attribute.</li>
<li><a class="reference external" href="https://bugs.python.org/14344">Issue #14344</a>: fixed the repr of email.policy objects.</li>
<li><a class="reference external" href="https://bugs.python.org/11686">Issue #11686</a>: Added missing entries to email package __all__ lists
(mostly the new Bytes classes).</li>
<li><a class="reference external" href="https://bugs.python.org/14335">Issue #14335</a>: multiprocessing&#8217;s custom Pickler subclass now inherits from
the C-accelerated implementation.  Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/10484">Issue #10484</a>: Fix the CGIHTTPServer&#8217;s PATH_INFO handling problem.</li>
<li><a class="reference external" href="https://bugs.python.org/11199">Issue #11199</a>: Fix the with urllib which hangs on particular ftp urls.</li>
<li>Improve the memory utilization and speed of functools.lru_cache.</li>
<li><a class="reference external" href="https://bugs.python.org/14222">Issue #14222</a>: Use the new time.steady() function instead of time.time() for
timeout in queue and threading modules to not be affected of system time
update.</li>
<li><a class="reference external" href="https://bugs.python.org/13248">Issue #13248</a>: Remove lib2to3.pytree.Base.get_prefix/set_prefix.</li>
<li><a class="reference external" href="https://bugs.python.org/14234">Issue #14234</a>: CVE-2012-0876: Randomize hashes of xml attributes in the hash
table internal to the pyexpat module&#8217;s copy of the expat library to avoid a
denial of service due to hash collisions.  Patch by David Malcolm with some
modifications by the expat project.</li>
<li><a class="reference external" href="https://bugs.python.org/12818">Issue #12818</a>: format address no longer needlessly escapes ()s in names when
the name ends up being quoted.</li>
<li><a class="reference external" href="https://bugs.python.org/14062">Issue #14062</a>: BytesGenerator now correctly folds Header objects,
including using linesep when folding.</li>
<li><a class="reference external" href="https://bugs.python.org/13839">Issue #13839</a>: When invoked on the command-line, the pstats module now
accepts several filenames of profile stat files and merges them all.
Patch by Matt Joiner.</li>
<li><a class="reference external" href="https://bugs.python.org/14291">Issue #14291</a>: Email now defaults to utf-8 for non-ASCII unicode headers
instead of raising an error.  This fixes a regression relative to 2.7.</li>
<li><a class="reference external" href="https://bugs.python.org/989712">Issue #989712</a>: Support using Tk without a mainloop.</li>
<li><a class="reference external" href="https://bugs.python.org/3835">Issue #3835</a>: Refuse to use unthreaded Tcl in threaded Python.</li>
<li><a class="reference external" href="https://bugs.python.org/2843">Issue #2843</a>: Add new Tk API to Tkinter.</li>
<li><a class="reference external" href="https://bugs.python.org/14184">Issue #14184</a>: Increase the default stack size for secondary threads on
Mac OS X to avoid interpreter crashes when using threads on 10.7.</li>
<li><a class="reference external" href="https://bugs.python.org/14180">Issue #14180</a>: datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp()
now raise an OSError instead of ValueError if localtime() or gmtime() failed.</li>
<li><a class="reference external" href="https://bugs.python.org/14180">Issue #14180</a>: time.ctime(), gmtime(), time.localtime(),
datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and
datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of
a ValueError, if the timestamp does not fit in time_t.</li>
<li><a class="reference external" href="https://bugs.python.org/14180">Issue #14180</a>: datetime.datetime.fromtimestamp() and
datetime.datetime.utcfromtimestamp() now round microseconds towards zero
instead of rounding to nearest with ties going away from zero.</li>
<li><a class="reference external" href="https://bugs.python.org/10543">Issue #10543</a>: Fix unittest test discovery with Jython bytecode files.</li>
<li><a class="reference external" href="https://bugs.python.org/1178863">Issue #1178863</a>: Separate initialisation from setting when initializing
Tkinter.Variables; harmonize exceptions to ValueError; only delete variables
that have not been deleted; assert that variable names are strings.</li>
<li><a class="reference external" href="https://bugs.python.org/14104">Issue #14104</a>: Implement time.monotonic() on Mac OS X, patch written by
Nicholas Riley.</li>
<li><a class="reference external" href="https://bugs.python.org/13394">Issue #13394</a>: the aifc module now uses warnings.warn() to signal warnings.</li>
<li><a class="reference external" href="https://bugs.python.org/14252">Issue #14252</a>: Fix subprocess.Popen.terminate() to not raise an error under
Windows when the child process has already exited.</li>
<li><a class="reference external" href="https://bugs.python.org/14223">Issue #14223</a>: curses.addch() is no more limited to the range 0-255 when the
Python curses is not linked to libncursesw. It was a regression introduced
in Python 3.3a1.</li>
<li><a class="reference external" href="https://bugs.python.org/14168">Issue #14168</a>: Check for presence of Element._attrs in minidom before
accessing it.</li>
<li><a class="reference external" href="https://bugs.python.org/12328">Issue #12328</a>: Fix multiprocessing&#8217;s use of overlapped I/O on Windows.
Also, add a multiprocessing.connection.wait(rlist, timeout=None) function
for polling multiple objects at once.  Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/14007">Issue #14007</a>: Accept incomplete TreeBuilder objects (missing start, end,
data or close method) for the Python implementation as well.
Drop the no-op TreeBuilder().xml() method from the C implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/14210">Issue #14210</a>: pdb now has tab-completion not only for command names, but
also for their arguments, wherever possible.</li>
<li><a class="reference external" href="https://bugs.python.org/14310">Issue #14310</a>: Sockets can now be with other processes on Windows using
the api socket.socket.share() and socket.fromshare().</li>
<li><a class="reference external" href="https://bugs.python.org/10576">Issue #10576</a>: The gc module now has a &#8216;callbacks&#8217; member that will get
called when garbage collection takes place.</li>
</ul>
</div>
<div class="section" id="id143">
<h3>Build<a class="headerlink" href="#id143" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14557">Issue #14557</a>: Fix extensions build on HP-UX. Patch by Adi Roiban.</li>
<li><a class="reference external" href="https://bugs.python.org/14387">Issue #14387</a>: Do not include accu.h from Python.h.</li>
<li><a class="reference external" href="https://bugs.python.org/14359">Issue #14359</a>: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.</li>
<li><a class="reference external" href="https://bugs.python.org/14321">Issue #14321</a>: Do not run pgen during the build if files are up to date.</li>
</ul>
</div>
<div class="section" id="id144">
<h3>Documentation<a class="headerlink" href="#id144" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14034">Issue #14034</a>: added the argparse tutorial.</li>
<li><a class="reference external" href="https://bugs.python.org/14324">Issue #14324</a>: Fix configure tests for cross builds.</li>
<li><a class="reference external" href="https://bugs.python.org/14327">Issue #14327</a>: Call AC_CANONICAL_HOST in configure.ac and check in
config.{guess,sub}. Don&#8217;t use uname calls for cross builds.</li>
</ul>
</div>
<div class="section" id="id145">
<h3>Extension Modules<a class="headerlink" href="#id145" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/9041">Issue #9041</a>: An issue in ctypes.c_longdouble, ctypes.c_double, and
ctypes.c_float that caused an incorrect exception to be returned in the
case of overflow has been fixed.</li>
<li><a class="reference external" href="https://bugs.python.org/14212">Issue #14212</a>: The re module didn&#8217;t retain a reference to buffers it was
scanning, resulting in segfaults.</li>
<li><a class="reference external" href="https://bugs.python.org/14259">Issue #14259</a>: The finditer() method of re objects did not take any
keyword arguments, contrary to the documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/10142">Issue #10142</a>: Support for SEEK_HOLE/SEEK_DATA (for example, under ZFS).</li>
</ul>
</div>
<div class="section" id="id146">
<h3>Tests<a class="headerlink" href="#id146" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14442">Issue #14442</a>: Add missing errno import in test_smtplib.</li>
<li><a class="reference external" href="https://bugs.python.org/8315">Issue #8315</a>: (partial fix) python -m unittest test.test_email now works.</li>
</ul>
</div>
</div>
<div class="section" id="python-3-3-0-alpha-1">
<h2>Python 3.3.0 Alpha 1<a class="headerlink" href="#python-3-3-0-alpha-1" title="Permalink to this headline">¶</a></h2>
<p><em>Release date: 05-Mar-2012</em></p>
<div class="section" id="id147">
<h3>Core and Builtins<a class="headerlink" href="#id147" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14172">Issue #14172</a>: Fix reference leak when marshalling a buffer-like object
(other than a bytes object).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13521">Issue #13521</a>: dict.setdefault() now does only one lookup for the given key,
making it &#8220;atomic&#8221; for many purposes.  Patch by Filip Gruszczyński.</p>
</li>
<li><p class="first">PEP 409, <a class="reference external" href="https://bugs.python.org/6210">Issue #6210</a>: &#8220;raise X from None&#8221; is now supported as a means of
suppressing the display of the chained exception context. The chained
context still remains available as the __context__ attribute.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10181">Issue #10181</a>: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
as well as crashes (#8305, #7433). Many new features have been added
(See whatsnew/3.3), and the documentation has been updated extensively.
The ndarray test object from _testbuffer.c implements all aspects of
PEP-3118, so further development towards the complete implementation
of the PEP can proceed in a test-driven manner.</p>
<p>Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
and many ideas.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12834">Issue #12834</a>: Fix incorrect results of memoryview.tobytes() for
non-contiguous arrays.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/5231">Issue #5231</a>: Introduce memoryview.cast() method that allows changing
format and shape without making a copy of the underlying memory.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14084">Issue #14084</a>: Fix a file descriptor leak when importing a module with a
bad encoding.</p>
</li>
<li><p class="first">Upgrade Unicode data to Unicode 6.1.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14040">Issue #14040</a>: Remove rarely used file name suffixes for C extensions
(under POSIX mainly).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14051">Issue #14051</a>: Allow arbitrary attributes to be set of classmethod and
staticmethod.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13703">Issue #13703</a>: oCERT-2011-003: Randomize hashes of str and bytes to protect
against denial of service attacks due to hash collisions within the dict and
set types.  Patch by David Malcolm, based on work by Victor Stinner.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13020">Issue #13020</a>: Fix a reference leak when allocating a structsequence object
fails.  Patch by Suman Saha.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13908">Issue #13908</a>: Ready types returned from PyType_FromSpec.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11235">Issue #11235</a>: Fix OverflowError when trying to import a source file whose
modification time doesn&#8217;t fit in a 32-bit timestamp.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12705">Issue #12705</a>: A SyntaxError exception is now raised when attempting to
compile multiple statements as a single interactive statement.</p>
</li>
<li><p class="first">Fix the builtin module initialization code to store the init function for
future reinitialization.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/8052">Issue #8052</a>: The posix subprocess module would take a long time closing
all possible file descriptors in the child process rather than just open
file descriptors.  It now closes only the open fds if possible for the
default close_fds=True behavior.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13629">Issue #13629</a>: Renumber the tokens in token.h so that they match the indexes
into _PyParser_TokenNames.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13752">Issue #13752</a>: Add a casefold() method to str.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13761">Issue #13761</a>: Add a &#8220;flush&#8221; keyword argument to the print() function,
used to ensure flushing the output stream.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13645">Issue #13645</a>: pyc files now contain the size of the corresponding source
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.</p>
</li>
<li><p class="first">PEP 380, <a class="reference external" href="https://bugs.python.org/11682">Issue #11682</a>: Add &#8220;yield from &lt;x&gt;&#8221; to support easy delegation to
subgenerators (initial patch by Greg Ewing, integration into 3.3 by
Renaud Blanch, Ryan Kelly, Zbigniew Jędrzejewski-Szmek and Nick Coghlan)</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13748">Issue #13748</a>: Raw bytes literals can now be written with the <tt class="docutils literal"><span class="pre">rb</span></tt> prefix
as well as <tt class="docutils literal"><span class="pre">br</span></tt>.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12736">Issue #12736</a>: Use full unicode case mappings for upper, lower, and title case.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12760">Issue #12760</a>: Add a create mode to open(). Patch by David Townshend.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13738">Issue #13738</a>: Simplify implementation of bytes.lower() and bytes.upper().</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13577">Issue #13577</a>: Built-in methods and functions now have a __qualname__.
Patch by sbt.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/6695">Issue #6695</a>: Full garbage collection runs now clear the freelist of set
objects.  Initial patch by Matthias Troffaes.</p>
</li>
<li><p class="first">Fix OSError.__init__ and OSError.__new__ so that each of them can be
overriden and take additional arguments (followup to <a class="reference external" href="https://bugs.python.org/12555">issue #12555</a>).</p>
</li>
<li><p class="first">Fix the fix for <a class="reference external" href="https://bugs.python.org/12149">issue #12149</a>: it was incorrect, although it had the side
effect of appearing to resolve the issue.  Thanks to Mark Shannon for
noticing.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13505">Issue #13505</a>: Pickle bytes objects in a way that is compatible with
Python 2 when using protocols &lt;= 2.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11147">Issue #11147</a>: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER.  (Fix
given by Campbell Barton).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13503">Issue #13503</a>: Use a more efficient reduction format for bytearrays with
pickle protocol &gt;= 3.  The old reduction format is kept with older protocols
in order to allow unpickling under Python 2.  Patch by Irmen de Jong.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/7111">Issue #7111</a>: Python can now be run without a stdin, stdout or stderr
stream.  It was already the case with Python 2.  However, the corresponding
sys module entries are now set to None (instead of an unusable file object).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11849">Issue #11849</a>: Ensure that free()d memory arenas are really released
on POSIX systems supporting anonymous memory mappings.  Patch by
Charles-François Natali.</p>
</li>
<li><p class="first">PEP 3155 / <a class="reference external" href="https://bugs.python.org/13448">issue #13448</a>: Qualified name for classes and functions.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13436">Issue #13436</a>: Fix a bogus error message when an AST object was passed
an invalid integer value.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13411">Issue #13411</a>: memoryview objects are now hashable when the underlying
object is hashable.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13338">Issue #13338</a>: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER
to allow compiling extension modules with -Wswitch-enum on gcc.
Initial patch by Floris Bruynooghe.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10227">Issue #10227</a>: Add an allocation cache for a single slice object.  Patch by
Stefan Behnel.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13393">Issue #13393</a>: BufferedReader.read1() now asks the full requested size to
the raw stream instead of limiting itself to the buffer size.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13392">Issue #13392</a>: Writing a pyc file should now be atomic under Windows as well.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13333">Issue #13333</a>: The UTF-7 decoder now accepts lone surrogates (the encoder
already accepts them).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13389">Issue #13389</a>: Full garbage collection passes now clear the freelists for
list and dict objects.  They already cleared other freelists in the
interpreter.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13327">Issue #13327</a>: Remove the need for an explicit None as the second argument
to os.utime, os.lutimes, os.futimes, os.futimens, os.futimesat, in
order to update to the current time. Also added keyword argument
handling to os.utimensat in order to remove the need for explicit None.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13350">Issue #13350</a>: Simplify some C code by replacing most usages of
PyUnicode_Format by PyUnicode_FromFormat.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13342">Issue #13342</a>: input() used to ignore sys.stdin&#8217;s and sys.stdout&#8217;s unicode
error handler in interactive mode (when calling into PyOS_Readline()).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9896">Issue #9896</a>: Add start, stop, and step attributes to range objects.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13343">Issue #13343</a>: Fix a SystemError when a lambda expression uses a global
variable in the default value of a keyword-only argument: <tt class="docutils literal"><span class="pre">lambda</span> <span class="pre">*,</span>
<span class="pre">arg=GLOBAL_NAME:</span> <span class="pre">None</span></tt></p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12797">Issue #12797</a>: Added custom opener parameter to builtin open() and
FileIO.open().</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10519">Issue #10519</a>: Avoid unnecessary recursive function calls in
setobject.c.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10363">Issue #10363</a>: Deallocate global locks in Py_Finalize().</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13018">Issue #13018</a>: Fix reference leaks in error paths in dictobject.c.
Patch by Suman Saha.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13201">Issue #13201</a>: Define &#8216;==&#8217; and &#8216;!=&#8217; to compare range objects based on
the sequence of values they define (instead of comparing based on
object identity).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/1294232">Issue #1294232</a>: In a few cases involving metaclass inheritance, the
interpreter would sometimes invoke the wrong metaclass when building a new
class object. These cases now behave correctly. Patch by Daniel Urban.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12753">Issue #12753</a>: Add support for Unicode name aliases and named sequences.
Both <tt class="docutils literal"><span class="pre">unicodedata.lookup()</span></tt> and &#8216;N{...}&#8217; now resolve aliases,
and <tt class="docutils literal"><span class="pre">unicodedata.lookup()</span></tt> resolves named sequences too.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12170">Issue #12170</a>: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument.  Patch by Petri Lehtinen.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12604">Issue #12604</a>: VTRACE macro expanded to no-op in _sre.c to avoid compiler
warnings. Patch by Josh Triplett and Petri Lehtinen.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12281">Issue #12281</a>: Rewrite the MBCS codec to handle correctly replace and ignore
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13188">Issue #13188</a>: When called without an explicit traceback argument,
generator.throw() now gets the traceback from the passed exception&#8217;s
<tt class="docutils literal"><span class="pre">__traceback__</span></tt> attribute.  Patch by Petri Lehtinen.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13146">Issue #13146</a>: Writing a pyc file is now atomic under POSIX.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/7833">Issue #7833</a>: Extension modules built using distutils on Windows will no
longer include a &#8220;manifest&#8221; to prevent them failing at import time in some
embedded situations.</p>
</li>
<li><p class="first">PEP 3151 / <a class="reference external" href="https://bugs.python.org/12555">issue #12555</a>: reworking the OS and IO exception hierarchy.</p>
</li>
<li><p class="first">Add internal API for static strings (_Py_identifier et al.).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13063">Issue #13063</a>: the Windows error ERROR_NO_DATA (numbered 232 and described
as &#8220;The pipe is being closed&#8221;) is now mapped to POSIX errno EPIPE
(previously EINVAL).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12911">Issue #12911</a>: Fix memory consumption when calculating the repr() of huge
tuples or lists.</p>
</li>
<li><p class="first">PEP 393: flexible string representation. Thanks to Torsten Becker for the
initial implementation, and Victor Stinner for various bug fixes.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/14081">Issue #14081</a>: The &#8216;sep&#8217; and &#8216;maxsplit&#8217; parameter to str.split, bytes.split,
and bytearray.split may now be passed as keyword arguments.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13012">Issue #13012</a>: The &#8216;keepends&#8217; parameter to str.splitlines may now be passed
as a keyword argument: &#8220;my_string.splitlines(keepends=True)&#8221;.  The same
change also applies to bytes.splitlines and bytearray.splitlines.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/7732">Issue #7732</a>: Don&#8217;t open a directory as a file anymore while importing a
module. Ignore the direcotry if its name matchs the module name (e.g.
&#8220;__init__.py&#8221;) and raise a ImportError instead.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13021">Issue #13021</a>: Missing decref on an error path.  Thanks to Suman Saha for
finding the bug and providing a patch.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12973">Issue #12973</a>: Fix overflow checks that relied on undefined behaviour in
list_repeat (listobject.c) and islice_next (itertoolsmodule.c).  These bugs
caused test failures with recent versions of Clang.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12904">Issue #12904</a>: os.utime, os.futimes, os.lutimes, and os.futimesat now write
atime and mtime with nanosecond precision on modern POSIX platforms.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12802">Issue #12802</a>: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9200">Issue #9200</a>: The str.is* methods now work with strings that contain non-BMP
characters even in narrow Unicode builds.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12791">Issue #12791</a>: Break reference cycles early when a generator exits with
an exception.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12773">Issue #12773</a>: Make __doc__ mutable on user-defined classes.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12766">Issue #12766</a>: Raise a ValueError when creating a class with a class variable
that conflicts with a name in __slots__.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12266">Issue #12266</a>: Fix str.capitalize() to correctly uppercase/lowercase
titlecased and cased non-letter characters.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12732">Issue #12732</a>: In narrow unicode builds, allow Unicode identifiers which fall
outside the BMP.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12575">Issue #12575</a>: Validate user-generated AST before it is compiled.</p>
</li>
<li><p class="first">Make type(None), type(Ellipsis), and type(NotImplemented) callable. They
return the respective singleton instances.</p>
</li>
<li><p class="first">Forbid summing bytes with sum().</p>
</li>
<li><p class="first">Verify the types of AST strings and identifiers provided by the user before
compiling them.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12647">Issue #12647</a>: The None object now has a __bool__() method that returns False.
Formerly, bool(None) returned False only because of special case logic
in PyObject_IsTrue().</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12579">Issue #12579</a>: str.format_map() now raises a ValueError if used on a
format string that contains positional fields. Initial patch by
Julian Berman.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10271">Issue #10271</a>: Allow warnings.showwarning() be any callable.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11627">Issue #11627</a>: Fix segfault when __new__ on a exception returns a
non-exception class.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12149">Issue #12149</a>: Update the method cache after a type&#8217;s dictionary gets
cleared by the garbage collector.  This fixes a segfault when an instance
and its type get caught in a reference cycle, and the instance&#8217;s
deallocator calls one of the methods on the type (e.g. when subclassing
IOBase).  Diagnosis and patch by Davide Rizzo.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9611">Issue #9611</a>, <a class="reference external" href="https://bugs.python.org/9015">Issue #9015</a>: FileIO.read() clamps the length to INT_MAX on Windows.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9642">Issue #9642</a>: Uniformize the tests on the availability of the mbcs codec, add
a new HAVE_MBCS define.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9642">Issue #9642</a>: Fix filesystem encoding initialization: use the ANSI code page
on Windows if the mbcs codec is not available, and fail with a fatal error if
we cannot get the locale encoding (if nl_langinfo(CODESET) is not available)
instead of using UTF-8.</p>
</li>
<li><p class="first">When a generator yields, do not retain the caller&#8217;s exception state on the
generator.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12475">Issue #12475</a>: Prevent generators from leaking their exception state into the
caller&#8217;s frame as they return for the last time.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12291">Issue #12291</a>: You can now load multiple marshalled objects from a stream,
with other data interleaved between marshalled objects.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12356">Issue #12356</a>: When required positional or keyword-only arguments are not
given, produce a informative error message which includes the name(s) of the
missing arguments.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12370">Issue #12370</a>: Fix super with no arguments when __class__ is overriden in the
class body.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12084">Issue #12084</a>: os.stat on Windows now works properly with relative symbolic
links when called from any directory.</p>
</li>
<li><p class="first">Loosen type restrictions on the __dir__ method. __dir__ can now return any
sequence, which will be converted to a list and sorted by dir().</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12265">Issue #12265</a>: Make error messages produced by passing an invalid set of
arguments to a function more informative.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12225">Issue #12225</a>: Still allow Python to build if Python is not in its hg repo or
mercurial is not installed.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/1195">Issue #1195</a>: my_fgets() now always clears errors before calling fgets(). Fix
the following case: sys.stdin.read() stopped with CTRL+d (end of file),
raw_input() interrupted by CTRL+c.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12216">Issue #12216</a>: Allow unexpected EOF errors to happen on any line of the file.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12199">Issue #12199</a>: The TryExcept and TryFinally and AST nodes have been unified
into a Try node.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9670">Issue #9670</a>: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
&#8220;maximum recursion depth&#8221; RuntimeError exception.
(patch by Ronald Oussoren)</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12106">Issue #12106</a>: The use of the multiple-with shorthand syntax is now reflected
in the AST.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12190">Issue #12190</a>: Try to use the same filename object when compiling unmarshalling
a code objects in the same file.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12166">Issue #12166</a>: Move implementations of dir() specialized for various types into
the __dir__() methods of those types.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/5715">Issue #5715</a>: In socketserver, close the server socket in the child process.</p>
</li>
<li><p class="first">Correct lookup of __dir__ on objects. Among other things, this causes errors
besides AttributeError found on lookup to be propagated.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12060">Issue #12060</a>: Use sig_atomic_t type and volatile keyword in the signal
module. Patch written by Charles-François Natali.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/1746656">Issue #1746656</a>: Added the if_nameindex, if_indextoname, if_nametoindex
methods to the socket module.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12044">Issue #12044</a>: Fixed subprocess.Popen when used as a context manager to
wait for the process to end when exiting the context to avoid unintentionally
leaving zombie processes around.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/1195">Issue #1195</a>: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
clear the end-of-file indicator after CTRL+d.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/1856">Issue #1856</a>: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9756">Issue #9756</a>: When calling a method descriptor or a slot wrapper descriptor,
the check of the object type doesn&#8217;t read the __class__ attribute anymore.
Fix a crash if a class override its __class__ attribute (e.g. a proxy of the
str type). Patch written by Andreas Stührk.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10517">Issue #10517</a>: After fork(), reinitialize the TLS used by the PyGILState_*
APIs, to avoid a crash with the pthread implementation in RHEL 5.  Patch
by Charles-François Natali.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10914">Issue #10914</a>: Initialize correctly the filesystem codec when creating a new
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11918">Issue #11918</a>: OS/2 and VMS are no more supported because of the lack of
maintainer.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/6780">Issue #6780</a>: fix starts/endswith error message to mention that tuples are
accepted too.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/5057">Issue #5057</a>: fix a bug in the peepholer that led to non-portable pyc files
between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP
chars (e.g. &#8220;U00012345&#8221;[0]).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11845">Issue #11845</a>: Fix typo in rangeobject.c that caused a crash in
compute_slice_indices.  Patch by Daniel Urban.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/5673">Issue #5673</a>: Added a <tt class="xref py py-obj docutils literal"><span class="pre">timeout</span></tt> keyword argument to subprocess.Popen.wait,
subprocess.Popen.communicated, subprocess.call, subprocess.check_call, and
subprocess.check_output.  If the blocking operation takes more than <tt class="xref py py-obj docutils literal"><span class="pre">timeout</span></tt>
seconds, the <a class="reference internal" href="../library/subprocess.html#subprocess.TimeoutExpired" title="subprocess.TimeoutExpired"><tt class="xref py py-obj docutils literal"><span class="pre">subprocess.TimeoutExpired</span></tt></a> exception is raised.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11650">Issue #11650</a>: PyOS_StdioReadline() retries fgets() if it was interrupted
(EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
written by Charles-Francois Natali.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9319">Issue #9319</a>: Include the filename in &#8220;Non-UTF8 code ...&#8221; syntax error.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10785">Issue #10785</a>: Store the filename as Unicode in the Python parser.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11619">Issue #11619</a>: _PyImport_LoadDynamicModule() doesn&#8217;t encode the path to bytes
on Windows.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10998">Issue #10998</a>: Remove mentions of -Q, sys.flags.division_warning and
Py_DivisionWarningFlag left over from Python 2.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11244">Issue #11244</a>: Remove an unnecessary peepholer check that was preventing
negative zeros from being constant-folded properly.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11395">Issue #11395</a>: io.FileIO().write() clamps the data length to 32,767 bytes on
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11320">Issue #11320</a>: fix bogus memory management in Modules/getpath.c, leading to
a possible crash when calling Py_SetPath().</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11432">Issue #11432</a>: A bug was introduced in subprocess.Popen on posix systems with
3.2.0 where the stdout or stderr file descriptor being the same as the stdin
file descriptor would raise an exception. webbrowser.open would fail. fixed.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/9856">Issue #9856</a>: Change object.__format__ with a non-empty format string
to be a DeprecationWarning. In 3.2 it was a PendingDeprecationWarning.
In 3.4 it will be a TypeError.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11244">Issue #11244</a>: The peephole optimizer is now able to constant-fold
arbitrarily complex expressions.  This also fixes a 3.2 regression where
operations involving negative numbers were not constant-folded.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11450">Issue #11450</a>: Don&#8217;t truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11335">Issue #11335</a>: Fixed a memory leak in list.sort when the key function
throws an exception.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/8923">Issue #8923</a>: When a string is encoded to UTF-8 in strict mode, the result is
cached into the object. Examples: str.encode(), str.encode(&#8216;utf-8&#8217;),
PyUnicode_AsUTF8String() and PyUnicode_AsEncodedString(unicode, &#8220;utf-8&#8221;,
NULL).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10829">Issue #10829</a>: Refactor PyUnicode_FromFormat(), use the same function to parse
the format string in the 3 steps, fix crashs on invalid format strings.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/13007">Issue #13007</a>: whichdb should recognize gdbm 1.9 magic numbers.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11286">Issue #11286</a>: Raise a ValueError from calling PyMemoryView_FromBuffer with
a buffer struct having a NULL data pointer.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11272">Issue #11272</a>: On Windows, input() strips &#8216;r&#8217; (and not only &#8216;n&#8217;), and
sys.stdin uses universal newline (replace &#8216;rn&#8217; by &#8216;n&#8217;).</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11828">Issue #11828</a>: startswith and endswith now accept None as slice index.
Patch by Torsten Becker.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11168">Issue #11168</a>: Remove filename debug variable from PyEval_EvalFrameEx().
It encoded the Unicode filename to UTF-8, but the encoding fails on
undecodable filename (on surrogate characters) which raises an unexpected
UnicodeEncodeError on recursion limit.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11187">Issue #11187</a>: Remove bootstrap code (use ASCII) of
PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the
locale encoding) in PyUnicode_EncodeFSDefault().</p>
</li>
<li><p class="first">Check for NULL result in PyType_FromSpec.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/10516">Issue #10516</a>: New copy() and clear() methods for lists and bytearrays.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/11386">Issue #11386</a>: bytearray.pop() now throws IndexError when the bytearray is
empty, instead of OverflowError.</p>
</li>
<li><p class="first"><a class="reference external" href="https://bugs.python.org/12380">Issue #12380</a>: The rjust, ljust and center methods of bytes and bytearray
now accept a bytearray argument.</p>
</li>
</ul>
</div>
<div class="section" id="id148">
<h3>Library<a class="headerlink" href="#id148" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14195">Issue #14195</a>: An issue that caused weakref.WeakSet instances to incorrectly
return True for a WeakSet instance &#8216;a&#8217; in both &#8216;a &lt; a&#8217; and &#8216;a &gt; a&#8217; has been
fixed.</li>
<li><a class="reference external" href="https://bugs.python.org/14166">Issue #14166</a>: Pickler objects now have an optional <tt class="docutils literal"><span class="pre">dispatch_table</span></tt>
attribute which allows to set custom per-pickler reduction functions.
Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/14177">Issue #14177</a>: marshal.loads() now raises TypeError when given an unicode
string.  Patch by Guilherme Gonçalves.</li>
<li><a class="reference external" href="https://bugs.python.org/13550">Issue #13550</a>: Remove the debug machinery from the threading module: remove
verbose arguments from all threading classes and functions.</li>
<li><a class="reference external" href="https://bugs.python.org/14159">Issue #14159</a>: Fix the len() of weak containers (WeakSet, WeakKeyDictionary,
WeakValueDictionary) to return a better approximation when some objects
are dead or dying.  Moreover, the implementation is now O(1) rather than
O(n).</li>
<li><a class="reference external" href="https://bugs.python.org/11841">Issue #11841</a>: Fix comparison bug with &#8216;rc&#8217; versions in packaging.version.
Patch by Filip Gruszczyński.</li>
<li><a class="reference external" href="https://bugs.python.org/6884">Issue #6884</a>: Fix long-standing bugs with MANIFEST.in parsing in distutils
on Windows.  Also fixed in packaging.</li>
<li><a class="reference external" href="https://bugs.python.org/8033">Issue #8033</a>: sqlite3: Fix 64-bit integer handling in user functions
on 32-bit architectures. Initial patch by Philippe Devalkeneer.</li>
<li>HTMLParser is now able to handle slashes in the start tag.</li>
<li><a class="reference external" href="https://bugs.python.org/13641">Issue #13641</a>: Decoding functions in the base64 module now accept ASCII-only
unicode strings.  Patch by Catalin Iacob.</li>
<li><a class="reference external" href="https://bugs.python.org/14043">Issue #14043</a>: Speed up importlib&#8217;s _FileFinder by at least 8x, and add a
new importlib.invalidate_caches() function.</li>
<li><a class="reference external" href="https://bugs.python.org/14001">Issue #14001</a>: CVE-2012-0845: xmlrpc: Fix an endless loop in
SimpleXMLRPCServer upon malformed POST request.</li>
<li><a class="reference external" href="https://bugs.python.org/13961">Issue #13961</a>: Move importlib over to using os.replace() for atomic renaming.</li>
<li>Do away with ambiguous level values (as suggested by PEP 328) in
importlib.__import__() by raising ValueError when level &lt; 0.</li>
<li><a class="reference external" href="https://bugs.python.org/2489">Issue #2489</a>: pty.spawn could consume 100% cpu when it encountered an EOF.</li>
<li><a class="reference external" href="https://bugs.python.org/13014">Issue #13014</a>: Fix a possible reference leak in SSLSocket.getpeercert().</li>
<li><a class="reference external" href="https://bugs.python.org/13777">Issue #13777</a>: Add PF_SYSTEM sockets on OS X.
Patch by Michael Goderbauer.</li>
<li><a class="reference external" href="https://bugs.python.org/13015">Issue #13015</a>: Fix a possible reference leak in defaultdict.__repr__.
Patch by Suman Saha.</li>
<li><a class="reference external" href="https://bugs.python.org/1326113">Issue #1326113</a>: distutils&#8217; and packaging&#8217;s build_ext commands option now
correctly parses multiple values (separated by whitespace or commas) given
to their &#8211;libraries option.</li>
<li><a class="reference external" href="https://bugs.python.org/10287">Issue #10287</a>: nntplib now queries the server&#8217;s CAPABILITIES first before
sending MODE READER, and only sends it if not already in READER mode.
Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/13993">Issue #13993</a>: HTMLParser is now able to handle broken end tags when
strict=False.</li>
<li><a class="reference external" href="https://bugs.python.org/13930">Issue #13930</a>: lib2to3 now supports writing converted output files to another
directory tree as well as copying unchanged files and altering the file
suffix.</li>
<li><a class="reference external" href="https://bugs.python.org/9750">Issue #9750</a>: Fix sqlite3.Connection.iterdump on tables and fields
with a name that is a keyword or contains quotes. Patch by Marko
Kohtala.</li>
<li><a class="reference external" href="https://bugs.python.org/10287">Issue #10287</a>: nntplib now queries the server&#8217;s CAPABILITIES again after
authenticating (since the result may change, according to RFC 4643).
Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/13590">Issue #13590</a>: On OS X 10.7 and 10.6 with Xcode 4.2, building
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons.  If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4.  This change does not
attempt to override settings to support their use with Xcode 4.)</li>
<li><a class="reference external" href="https://bugs.python.org/13960">Issue #13960</a>: HTMLParser is now able to handle broken comments when
strict=False.</li>
<li>When &#8216;&#8217; is a path (e.g. in sys.path), make sure __file__ uses the current
working directory instead of &#8216;&#8217; in importlib.</li>
<li><a class="reference external" href="https://bugs.python.org/13609">Issue #13609</a>: Add two functions to query the terminal size:
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.</li>
<li><a class="reference external" href="https://bugs.python.org/13845">Issue #13845</a>: On Windows, time.time() now uses GetSystemTimeAsFileTime()
instead of ftime() to have a resolution of 100 ns instead of 1 ms (the clock
accuracy is between 0.5 ms and 15 ms).</li>
<li><a class="reference external" href="https://bugs.python.org/13846">Issue #13846</a>: Add time.monotonic(), monotonic clock.</li>
<li><a class="reference external" href="https://bugs.python.org/8184">Issue #8184</a>: multiprocessing: On Windows, don&#8217;t set SO_REUSEADDR on
Connection sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to
make sure two listeners can&#8217;t bind to the same socket/pipe (or any existing
socket/pipe).</li>
<li><a class="reference external" href="https://bugs.python.org/10811">Issue #10811</a>: Fix recursive usage of cursors. Instead of crashing,
raise a ProgrammingError now.</li>
<li><a class="reference external" href="https://bugs.python.org/13734">Issue #13734</a>: Add os.fwalk(), a directory walking function yielding file
descriptors.</li>
<li><a class="reference external" href="https://bugs.python.org/2945">Issue #2945</a>: Make the distutils upload command aware of bdist_rpm products.</li>
<li><a class="reference external" href="https://bugs.python.org/13712">Issue #13712</a>: pysetup create should not convert package_data to extra_files.</li>
<li><a class="reference external" href="https://bugs.python.org/11805">Issue #11805</a>: package_data in setup.cfg should allow more than one value.</li>
<li><a class="reference external" href="https://bugs.python.org/13676">Issue #13676</a>: Handle strings with embedded zeros correctly in sqlite3.</li>
<li><a class="reference external" href="https://bugs.python.org/8828">Issue #8828</a>: Add new function os.replace(), for cross-platform renaming
with overwriting.</li>
<li><a class="reference external" href="https://bugs.python.org/13848">Issue #13848</a>: open() and the FileIO constructor now check for NUL
characters in the file name.  Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/13806">Issue #13806</a>: The size check in audioop decompression functions was too
strict and could reject valid compressed data.  Patch by Oleg Plakhotnyuk.</li>
<li><a class="reference external" href="https://bugs.python.org/13812">Issue #13812</a>: When a multiprocessing Process child raises an exception,
flush stderr after printing the exception traceback.</li>
<li><a class="reference external" href="https://bugs.python.org/13885">Issue #13885</a>: CVE-2011-3389: the _ssl module would always disable the CBC
IV attack countermeasure.</li>
<li><a class="reference external" href="https://bugs.python.org/13847">Issue #13847</a>: time.localtime() and time.gmtime() now raise an OSError instead
of ValueError on failure. time.ctime() and time.asctime() now raises an
OSError if localtime() failed. time.clock() now raises a RuntimeError if the
processor time used is not available or its value cannot be represented</li>
<li><a class="reference external" href="https://bugs.python.org/13772">Issue #13772</a>: In os.symlink() under Windows, do not try to guess the link
target&#8217;s type (file or directory).  The detection was buggy and made the
call non-atomic (therefore prone to race conditions).</li>
<li><a class="reference external" href="https://bugs.python.org/6631">Issue #6631</a>: Disallow relative file paths in urllib urlopen methods.</li>
<li><a class="reference external" href="https://bugs.python.org/13722">Issue #13722</a>: Avoid silencing ImportErrors when initializing the codecs
registry.</li>
<li><a class="reference external" href="https://bugs.python.org/13781">Issue #13781</a>: Fix GzipFile bug that caused an exception to be raised when
opening for writing using a fileobj returned by os.fdopen().</li>
<li><a class="reference external" href="https://bugs.python.org/13803">Issue #13803</a>: Under Solaris, distutils doesn&#8217;t include bitness
in the directory name.</li>
<li><a class="reference external" href="https://bugs.python.org/10278">Issue #10278</a>: Add time.wallclock() function, monotonic clock.</li>
<li><a class="reference external" href="https://bugs.python.org/13809">Issue #13809</a>: Fix regression where bz2 module wouldn&#8217;t work when threads are
disabled. Original patch by Amaury Forgeot d&#8217;Arc.</li>
<li><a class="reference external" href="https://bugs.python.org/13589">Issue #13589</a>: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.</li>
<li><a class="reference external" href="https://bugs.python.org/13642">Issue #13642</a>: Unquote before b64encoding user:password during Basic
Authentication. Patch contributed by Joonas Kuorilehto.</li>
<li><a class="reference external" href="https://bugs.python.org/12364">Issue #12364</a>: Fix a hang in concurrent.futures.ProcessPoolExecutor.
The hang would occur when retrieving the result of a scheduled future after
the executor had been shut down.</li>
<li><a class="reference external" href="https://bugs.python.org/13502">Issue #13502</a>: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.</li>
<li><a class="reference external" href="https://bugs.python.org/9993">Issue #9993</a>: When the source and destination are on different filesystems,
and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.  Patch by Jonathan Niehof
and Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/12926">Issue #12926</a>: Fix a bug in tarfile&#8217;s link extraction.</li>
<li><a class="reference external" href="https://bugs.python.org/13696">Issue #13696</a>: Fix the 302 Relative URL Redirection problem.</li>
<li><a class="reference external" href="https://bugs.python.org/13636">Issue #13636</a>: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).</li>
<li><a class="reference external" href="https://bugs.python.org/12715">Issue #12715</a>: Add an optional symlinks argument to shutil functions
(copyfile, copymode, copystat, copy, copy2).  When that parameter is
true, symlinks aren&#8217;t dereferenced and the operation instead acts on the
symlink itself (or creates one, if relevant).  Patch by Hynek Schlawack.</li>
<li>Add a flags parameter to select.epoll.</li>
<li><a class="reference external" href="https://bugs.python.org/13626">Issue #13626</a>: Add support for SSL Diffie-Hellman key exchange, through the
SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.</li>
<li><a class="reference external" href="https://bugs.python.org/11006">Issue #11006</a>: Don&#8217;t issue low level warning in subprocess when pipe2() fails.</li>
<li><a class="reference external" href="https://bugs.python.org/13620">Issue #13620</a>: Support for Chrome browser in webbrowser.  Patch contributed
by Arnaud Calmettes.</li>
<li><a class="reference external" href="https://bugs.python.org/11829">Issue #11829</a>: Fix code execution holes in inspect.getattr_static for
metaclasses with metaclasses. Patch by Andreas Stührk.</li>
<li><a class="reference external" href="https://bugs.python.org/12708">Issue #12708</a>: Add starmap() and starmap_async() methods (similar to
itertools.starmap()) to multiprocessing.Pool.  Patch by Hynek Schlawack.</li>
<li><a class="reference external" href="https://bugs.python.org/1785">Issue #1785</a>: Fix inspect and pydoc with misbehaving descriptors.</li>
<li><a class="reference external" href="https://bugs.python.org/13637">Issue #13637</a>: &#8220;a2b&#8221; functions in the binascii module now accept ASCII-only
unicode strings.</li>
<li><a class="reference external" href="https://bugs.python.org/13634">Issue #13634</a>: Add support for querying and disabling SSL compression.</li>
<li><a class="reference external" href="https://bugs.python.org/13627">Issue #13627</a>: Add support for SSL Elliptic Curve-based Diffie-Hellman
key exchange, through the SSLContext.set_ecdh_curve() method and the
ssl.OP_SINGLE_ECDH_USE option.</li>
<li><a class="reference external" href="https://bugs.python.org/13635">Issue #13635</a>: Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers
choose the cipher based on their own preferences, rather than on the
client&#8217;s.</li>
<li><a class="reference external" href="https://bugs.python.org/11813">Issue #11813</a>: Fix inspect.getattr_static for modules. Patch by Andreas
Stührk.</li>
<li><a class="reference external" href="https://bugs.python.org/7502">Issue #7502</a>: Fix equality comparison for DocTestCase instances.  Patch by
Cédric Krier.</li>
<li><a class="reference external" href="https://bugs.python.org/11870">Issue #11870</a>: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.</li>
<li><a class="reference external" href="https://bugs.python.org/8035">Issue #8035</a>: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.</li>
<li><a class="reference external" href="https://bugs.python.org/13560">Issue #13560</a>: os.strerror() now uses the current locale encoding instead of
UTF-8.</li>
<li><a class="reference external" href="https://bugs.python.org/8373">Issue #8373</a>: The filesystem path of AF_UNIX sockets now uses the filesystem
encoding and the surrogateescape error handler, rather than UTF-8.  Patch
by David Watson.</li>
<li><a class="reference external" href="https://bugs.python.org/10350">Issue #10350</a>: Read and save errno before calling a function which might
overwrite it.  Original patch by Hallvard B Furuseth.</li>
<li><a class="reference external" href="https://bugs.python.org/11610">Issue #11610</a>: Introduce a more general way to declare abstract properties.</li>
<li><a class="reference external" href="https://bugs.python.org/13591">Issue #13591</a>: A bug in importlib has been fixed that caused import_module
to load a module twice.</li>
<li><a class="reference external" href="https://bugs.python.org/13449">Issue #13449</a> sched.scheduler.run() method has a new &#8220;blocking&#8221; parameter which
when set to False makes run() execute the scheduled events due to expire
soonest (if any) and then return.  Patch by Giampaolo Rodolà.</li>
<li><a class="reference external" href="https://bugs.python.org/8684">Issue #8684</a> sched.scheduler class can be safely used in multi-threaded
environments.  Patch by Josiah Carlson and Giampaolo Rodolà.</li>
<li>Alias resource.error to OSError ala PEP 3151.</li>
<li><a class="reference external" href="https://bugs.python.org/5689">Issue #5689</a>: Add support for lzma compression to the tarfile module.</li>
<li><a class="reference external" href="https://bugs.python.org/13248">Issue #13248</a>: Turn 3.2&#8217;s PendingDeprecationWarning into 3.3&#8217;s
DeprecationWarning.  It covers &#8216;cgi.escape&#8217;, &#8216;importlib.abc.PyLoader&#8217;,
&#8216;importlib.abc.PyPycLoader&#8217;, &#8216;nntplib.NNTP.xgtitle&#8217;, &#8216;nntplib.NNTP.xpath&#8217;,
and private attributes of &#8216;smtpd.SMTPChannel&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/5905">Issue #5905</a>, <a class="reference external" href="https://bugs.python.org/13560">Issue #13560</a>: time.strftime() is now using the current locale
encoding, instead of UTF-8, if the wcsftime() function is not available.</li>
<li><a class="reference external" href="https://bugs.python.org/13464">Issue #13464</a>: Add a readinto() method to http.client.HTTPResponse.  Patch
by Jon Kuhn.</li>
<li>tarfile.py: Correctly detect bzip2 compressed streams with blocksizes
other than 900k.</li>
<li><a class="reference external" href="https://bugs.python.org/13439">Issue #13439</a>: Fix many errors in turtle docstrings.</li>
<li><a class="reference external" href="https://bugs.python.org/6715">Issue #6715</a>: Add a module &#8216;lzma&#8217; for compression using the LZMA algorithm.
Thanks to Per Øyvind Karlsen for the initial implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/13487">Issue #13487</a>: Make inspect.getmodule robust against changes done to
sys.modules while it is iterating over it.</li>
<li><a class="reference external" href="https://bugs.python.org/12618">Issue #12618</a>: Fix a bug that prevented py_compile from creating byte
compiled files in the current directory.  Initial patch by Sjoerd de Vries.</li>
<li><a class="reference external" href="https://bugs.python.org/13444">Issue #13444</a>: When stdout has been closed explicitly, we should not attempt
to flush it at shutdown and print an error.</li>
<li><a class="reference external" href="https://bugs.python.org/12567">Issue #12567</a>: The curses module uses Unicode functions for Unicode arguments
when it is linked to the ncurses library. It encodes also Unicode strings to
the locale encoding instead of UTF-8.</li>
<li><a class="reference external" href="https://bugs.python.org/12856">Issue #12856</a>: Ensure child processes do not inherit the parent&#8217;s random
seed for filename generation in the tempfile module.  Patch by Brian
Harring.</li>
<li><a class="reference external" href="https://bugs.python.org/9957">Issue #9957</a>: SpooledTemporaryFile.truncate() now accepts an optional size
parameter, as other file-like objects.  Patch by Ryan Kelly.</li>
<li><a class="reference external" href="https://bugs.python.org/13458">Issue #13458</a>: Fix a memory leak in the ssl module when decoding a
certificate with a subjectAltName.  Patch by Robert Xiao.</li>
<li><a class="reference external" href="https://bugs.python.org/13415">Issue #13415</a>: os.unsetenv() doesn&#8217;t ignore errors anymore.</li>
<li><a class="reference external" href="https://bugs.python.org/13245">Issue #13245</a>: sched.scheduler class constructor&#8217;s timefunc and
delayfunct parameters are now optional.
scheduler.enter and scheduler.enterabs methods gained a new kwargs parameter.
Patch contributed by Chris Clark.</li>
<li><a class="reference external" href="https://bugs.python.org/12328">Issue #12328</a>: Under Windows, refactor handling of Ctrl-C events and
make _multiprocessing.win32.WaitForMultipleObjects interruptible when
the wait_flag parameter is false.  Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/13322">Issue #13322</a>: Fix BufferedWriter.write() to ensure that BlockingIOError is
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.</li>
<li><a class="reference external" href="https://bugs.python.org/13358">Issue #13358</a>: HTMLParser now calls handle_data only once for each CDATA.</li>
<li><a class="reference external" href="https://bugs.python.org/4147">Issue #4147</a>: minidom&#8217;s toprettyxml no longer adds whitespace around a text
node when it is the only child of an element.  Initial patch by Dan
Kenigsberg.</li>
<li><a class="reference external" href="https://bugs.python.org/13374">Issue #13374</a>: The Windows bytes API has been deprecated in the os module. Use
Unicode filenames instead of bytes filenames to not depend on the ANSI code
page anymore and to support any filename.</li>
<li><a class="reference external" href="https://bugs.python.org/13297">Issue #13297</a>: Use bytes type to send and receive binary data through XMLRPC.</li>
<li><a class="reference external" href="https://bugs.python.org/6397">Issue #6397</a>: Support &#8220;/dev/poll&#8221; polling objects in select module,
under Solaris &amp; derivatives.</li>
<li>Issues #1745761, #755670, #13357, #12629, #1200313: HTMLParser now correctly
handles non-valid attributes, including adjacent and unquoted attributes.</li>
<li><a class="reference external" href="https://bugs.python.org/13193">Issue #13193</a>: Fix distutils.filelist.FileList and packaging.manifest.Manifest
under Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/13384">Issue #13384</a>: Remove unnecessary __future__ import in Lib/random.py</li>
<li><a class="reference external" href="https://bugs.python.org/13149">Issue #13149</a>: Speed up append-only StringIO objects.</li>
<li><a class="reference external" href="https://bugs.python.org/13373">Issue #13373</a>: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout.  Patch by Arnaud Ysmal.</li>
<li><a class="reference external" href="https://bugs.python.org/13254">Issue #13254</a>: Fix Maildir initialization so that maildir contents
are read correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/3067">Issue #3067</a>: locale.setlocale() now raises TypeError if the second
argument is an invalid iterable. Its documentation and docstring
were also updated. Initial patch by Jyrki Pulliainen.</li>
<li><a class="reference external" href="https://bugs.python.org/13140">Issue #13140</a>: Fix the daemon_threads attribute of ThreadingMixIn.</li>
<li><a class="reference external" href="https://bugs.python.org/13339">Issue #13339</a>: Fix compile error in posixmodule.c due to missing semicolon.
Thanks to Robert Xiao.</li>
<li>Byte compilation in packaging is now isolated from the calling Python -B or
-O options, instead of being disallowed under -B or buggy under -O.</li>
<li><a class="reference external" href="https://bugs.python.org/10570">Issue #10570</a>: curses.putp() and curses.tparm() are now expecting a byte
string, instead of a Unicode string.</li>
<li><a class="reference external" href="https://bugs.python.org/13295">Issue #13295</a>: http.server now produces valid HTML 4.01 strict.</li>
<li><a class="reference external" href="https://bugs.python.org/2892">Issue #2892</a>: preserve iterparse events in case of SyntaxError.</li>
<li><a class="reference external" href="https://bugs.python.org/13287">Issue #13287</a>: urllib.request and urllib.error now contains an __all__
attribute to expose only relevant classes and functions.  Patch by Florent
Xicluna.</li>
<li><a class="reference external" href="https://bugs.python.org/670664">Issue #670664</a>: Fix HTMLParser to correctly handle the content of
<tt class="docutils literal"><span class="pre">&lt;script&gt;...&lt;/script&gt;</span></tt> and <tt class="docutils literal"><span class="pre">&lt;style&gt;...&lt;/style&gt;</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/10817">Issue #10817</a>: Fix urlretrieve function to raise ContentTooShortError even
when reporthook is None. Patch by Jyrki Pulliainen.</li>
<li>Fix the xmlrpc.client user agent to return something similar to
urllib.request user agent: &#8220;Python-xmlrpc/3.3&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/13293">Issue #13293</a>: Better error message when trying to marshal bytes using
xmlrpc.client.</li>
<li><a class="reference external" href="https://bugs.python.org/13291">Issue #13291</a>: NameError in xmlrpc package.</li>
<li><a class="reference external" href="https://bugs.python.org/13258">Issue #13258</a>: Use callable() built-in in the standard library.</li>
<li><a class="reference external" href="https://bugs.python.org/13273">Issue #13273</a>: fix a bug that prevented HTMLParser to properly detect some
tags when strict=False.</li>
<li><a class="reference external" href="https://bugs.python.org/11183">Issue #11183</a>: Add finer-grained exceptions to the ssl module, so that
you don&#8217;t have to inspect the exception&#8217;s attributes in the common case.</li>
<li><a class="reference external" href="https://bugs.python.org/13216">Issue #13216</a>: Add cp65001 codec, the Windows UTF-8 (CP_UTF8).</li>
<li><a class="reference external" href="https://bugs.python.org/13226">Issue #13226</a>: Add RTLD_xxx constants to the os module. These constants can be
used with sys.setdlopenflags().</li>
<li><a class="reference external" href="https://bugs.python.org/10278">Issue #10278</a>: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a
monotonic clock</li>
<li><a class="reference external" href="https://bugs.python.org/10332">Issue #10332</a>: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.</li>
<li><a class="reference external" href="https://bugs.python.org/13255">Issue #13255</a>: wrong docstrings in array module.</li>
<li><a class="reference external" href="https://bugs.python.org/8540">Issue #8540</a>: Remove deprecated Context._clamp attribute in Decimal module.</li>
<li><a class="reference external" href="https://bugs.python.org/13235">Issue #13235</a>: Added DeprecationWarning to logging.warn() method and function.</li>
<li><a class="reference external" href="https://bugs.python.org/9168">Issue #9168</a>: now smtpd is able to bind privileged port.</li>
<li><a class="reference external" href="https://bugs.python.org/12529">Issue #12529</a>: fix cgi.parse_header issue on strings with double-quotes and
semicolons together. Patch by Ben Darnell and Petri Lehtinen.</li>
<li><a class="reference external" href="https://bugs.python.org/13227">Issue #13227</a>: functools.lru_cache() now has a option to distinguish
calls with different argument types.</li>
<li><a class="reference external" href="https://bugs.python.org/6090">Issue #6090</a>: zipfile raises a ValueError when a document with a timestamp
earlier than 1980 is provided. Patch contributed by Petri Lehtinen.</li>
<li><a class="reference external" href="https://bugs.python.org/13150">Issue #13150</a>: sysconfig no longer parses the Makefile and config.h files
when imported, instead doing it at build time.  This makes importing
sysconfig faster and reduces Python startup time by 20%.</li>
<li><a class="reference external" href="https://bugs.python.org/12448">Issue #12448</a>: smtplib now flushes stdout while running <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">smtplib</span></tt>
in order to display the prompt correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/12454">Issue #12454</a>: The mailbox module is now using ASCII, instead of the locale
encoding, to read and write .mh_sequences files.</li>
<li><a class="reference external" href="https://bugs.python.org/13194">Issue #13194</a>: zlib.compressobj().copy() and zlib.decompressobj().copy() are
now available on Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/1673007">Issue #1673007</a>: urllib.request now supports HEAD request via new method argument.
Patch contributions by David Stanek, Patrick Westerhoff and Ezio Melotti.</li>
<li><a class="reference external" href="https://bugs.python.org/12386">Issue #12386</a>: packaging does not fail anymore when writing the RESOURCES
file.</li>
<li><a class="reference external" href="https://bugs.python.org/13158">Issue #13158</a>: Fix decoding and encoding of GNU tar specific base-256 number
fields in tarfile.</li>
<li><a class="reference external" href="https://bugs.python.org/13025">Issue #13025</a>: mimetypes is now reading MIME types using the UTF-8 encoding,
instead of the locale encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/10653">Issue #10653</a>: On Windows, use strftime() instead of wcsftime() because
wcsftime() doesn&#8217;t format time zone correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/13150">Issue #13150</a>: The tokenize module doesn&#8217;t compile large regular expressions
at startup anymore.</li>
<li><a class="reference external" href="https://bugs.python.org/11171">Issue #11171</a>: Fix distutils.sysconfig.get_makefile_filename when Python was
configured with different prefix and exec-prefix.</li>
<li><a class="reference external" href="https://bugs.python.org/11254">Issue #11254</a>: Teach distutils and packaging to compile .pyc and .pyo files in
PEP 3147-compliant __pycache__ directories.</li>
<li><a class="reference external" href="https://bugs.python.org/7367">Issue #7367</a>: Fix pkgutil.walk_paths to skip directories whose
contents cannot be read.</li>
<li><a class="reference external" href="https://bugs.python.org/3163">Issue #3163</a>: The struct module gets new format characters &#8216;n&#8217; and &#8216;N&#8217;
supporting C integer types <tt class="docutils literal"><span class="pre">ssize_t</span></tt> and <tt class="docutils literal"><span class="pre">size_t</span></tt>, respectively.</li>
<li><a class="reference external" href="https://bugs.python.org/13099">Issue #13099</a>: Fix sqlite3.Cursor.lastrowid under a Turkish locale.
Reported and diagnosed by Thomas Kluyver.</li>
<li><a class="reference external" href="https://bugs.python.org/13087">Issue #13087</a>: BufferedReader.seek() now always raises UnsupportedOperation
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer.  Patch by John O&#8217;Connor.</li>
<li><a class="reference external" href="https://bugs.python.org/7689">Issue #7689</a>: Allow pickling of dynamically created classes when their
metaclass is registered with copyreg.  Patch by Nicolas M. Thiéry and Craig
Citro.</li>
<li><a class="reference external" href="https://bugs.python.org/13034">Issue #13034</a>: When decoding some SSL certificates, the subjectAltName
extension could be unreported.</li>
<li><a class="reference external" href="https://bugs.python.org/12306">Issue #12306</a>: Expose the runtime version of the zlib C library as a constant,
ZLIB_RUNTIME_VERSION, in the zlib module. Patch by Torsten Landschoff.</li>
<li><a class="reference external" href="https://bugs.python.org/12959">Issue #12959</a>: Add collections.ChainMap to collections.__all__.</li>
<li><a class="reference external" href="https://bugs.python.org/8933">Issue #8933</a>: distutils&#8217; PKG-INFO files and packaging&#8217;s METADATA files will
now correctly report Metadata-Version: 1.1 instead of 1.0 if a Classifier or
Download-URL field is present.</li>
<li><a class="reference external" href="https://bugs.python.org/12567">Issue #12567</a>: Add curses.unget_wch() function. Push a character so the next
get_wch() will return it.</li>
<li><a class="reference external" href="https://bugs.python.org/9561">Issue #9561</a>: distutils and packaging now writes egg-info files using UTF-8,
instead of the locale encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/8286">Issue #8286</a>: The distutils command sdist will print a warning message instead
of crashing when an invalid path is given in the manifest template.</li>
<li><a class="reference external" href="https://bugs.python.org/12841">Issue #12841</a>: tarfile unnecessarily checked the existence of numerical user
and group ids on extraction. If one of them did not exist the respective id
of the current user (i.e. root) was used for the file and ownership
information was lost.</li>
<li><a class="reference external" href="https://bugs.python.org/12888">Issue #12888</a>: Fix a bug in HTMLParser.unescape that prevented it to escape
more than 128 entities.  Patch by Peter Otten.</li>
<li><a class="reference external" href="https://bugs.python.org/12878">Issue #12878</a>: Expose a __dict__ attribute on io.IOBase and its subclasses.</li>
<li><a class="reference external" href="https://bugs.python.org/12494">Issue #12494</a>: On error, call(), check_call(), check_output() and
getstatusoutput() functions of the subprocess module now kill the process,
read its status (to avoid zombis) and close pipes.</li>
<li><a class="reference external" href="https://bugs.python.org/12720">Issue #12720</a>: Expose low-level Linux extended file attribute functions in os.</li>
<li><a class="reference external" href="https://bugs.python.org/10946">Issue #10946</a>: The distutils commands bdist_dumb, bdist_wininst and bdist_msi
now respect a &#8211;skip-build option given to bdist.  The packaging commands
were fixed too.</li>
<li><a class="reference external" href="https://bugs.python.org/12847">Issue #12847</a>: Fix a crash with negative PUT and LONG_BINPUT arguments in
the C pickle implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/11564">Issue #11564</a>: Avoid crashes when trying to pickle huge objects or containers
(more than 2**31 items).  Instead, in most cases, an OverflowError is raised.</li>
<li><a class="reference external" href="https://bugs.python.org/12287">Issue #12287</a>: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.</li>
<li><a class="reference external" href="https://bugs.python.org/12839">Issue #12839</a>: Fix crash in zlib module due to version mismatch.
Fix by Richard M. Tew.</li>
<li><a class="reference external" href="https://bugs.python.org/9923">Issue #9923</a>: The mailcap module now correctly uses the platform path
separator for the MAILCAP environment variable on non-POSIX platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/12835">Issue #12835</a>: Follow up to #6560 that unconditionally prevents use of the
unencrypted sendmsg/recvmsg APIs on SSL wrapped sockets. Patch by David
Watson.</li>
<li><a class="reference external" href="https://bugs.python.org/12803">Issue #12803</a>: SSLContext.load_cert_chain() now accepts a password argument
to be used if the private key is encrypted.  Patch by Adam Simpkins.</li>
<li><a class="reference external" href="https://bugs.python.org/11657">Issue #11657</a>: Fix sending file descriptors over 255 over a multiprocessing
Pipe.</li>
<li><a class="reference external" href="https://bugs.python.org/12811">Issue #12811</a>: tabnanny.check() now promptly closes checked files. Patch by
Anthony Briggs.</li>
<li><a class="reference external" href="https://bugs.python.org/6560">Issue #6560</a>: The sendmsg/recvmsg API is now exposed by the socket module
when provided by the underlying platform, supporting processing of
ancillary data in pure Python code. Patch by David Watson and Heiko Wundram.</li>
<li><a class="reference external" href="https://bugs.python.org/12326">Issue #12326</a>: On Linux, sys.platform doesn&#8217;t contain the major version
anymore. It is now always &#8216;linux&#8217;, instead of &#8216;linux2&#8217; or &#8216;linux3&#8217; depending
on the Linux version used to build Python.</li>
<li><a class="reference external" href="https://bugs.python.org/12213">Issue #12213</a>: Fix a buffering bug with interleaved reads and writes that
could appear on BufferedRandom streams.</li>
<li><a class="reference external" href="https://bugs.python.org/12778">Issue #12778</a>: Reduce memory consumption when JSON-encoding a large
container of many small objects.</li>
<li><a class="reference external" href="https://bugs.python.org/12650">Issue #12650</a>: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.</li>
<li><a class="reference external" href="https://bugs.python.org/12744">Issue #12744</a>: Fix inefficient representation of integers between 2**31 and
2**63 on systems with a 64-bit C &#8220;long&#8221;.</li>
<li><a class="reference external" href="https://bugs.python.org/12646">Issue #12646</a>: Add an &#8216;eof&#8217; attribute to zlib.Decompress, to make it easier to
detect truncated input streams.</li>
<li><a class="reference external" href="https://bugs.python.org/11513">Issue #11513</a>: Fix exception handling <tt class="docutils literal"><span class="pre">tarfile.TarFile.gzopen()</span></tt> when
the file cannot be opened.</li>
<li><a class="reference external" href="https://bugs.python.org/12687">Issue #12687</a>: Fix a possible buffering bug when unpickling text mode
(protocol 0, mostly) pickles.</li>
<li><a class="reference external" href="https://bugs.python.org/10087">Issue #10087</a>: Fix the html output format of the calendar module.</li>
<li><a class="reference external" href="https://bugs.python.org/13121">Issue #13121</a>: add support for inplace math operators to collections.Counter.</li>
<li>Add support for unary plus and unary minus to collections.Counter.</li>
<li><a class="reference external" href="https://bugs.python.org/12683">Issue #12683</a>: urlparse updated to include svn as schemes that uses relative
paths. (svn from 1.5 onwards support relative path).</li>
<li><a class="reference external" href="https://bugs.python.org/12655">Issue #12655</a>: Expose functions from sched.h in the os module: sched_yield(),
sched_setscheduler(), sched_getscheduler(), sched_setparam(),
sched_get_min_priority(), sched_get_max_priority(), sched_rr_get_interval(),
sched_getaffinity(), sched_setaffinity().</li>
<li>Add ThreadError to threading.__all__.</li>
<li>Issues #11104, #8688: Fix the behavior of distutils&#8217; sdist command with
manually-maintained MANIFEST files.</li>
<li><a class="reference external" href="https://bugs.python.org/11281">Issue #11281</a>: smtplib.STMP gets source_address parameter, which adds the
ability to bind to specific source address on a machine with multiple
interfaces. Patch by Paulo Scardine.</li>
<li><a class="reference external" href="https://bugs.python.org/12464">Issue #12464</a>: tempfile.TemporaryDirectory.cleanup() should not follow
symlinks: fix it. Patch by Petri Lehtinen.</li>
<li><a class="reference external" href="https://bugs.python.org/8887">Issue #8887</a>: &#8220;pydoc somebuiltin.somemethod&#8221; (or help(&#8216;somebuiltin.somemethod&#8217;)
in Python code) now finds the doc of the method.</li>
<li><a class="reference external" href="https://bugs.python.org/10968">Issue #10968</a>: Remove indirection in threading.  The public names (Event,
Condition, etc.) used to be factory functions returning instances of hidden
classes (_Event, _Condition, etc.), because (if Guido recalls correctly) this
code pre-dates the ability to subclass extension types.  It is now possible
to inherit from these classes, without having to import the private
underscored names like multiprocessing did.</li>
<li><a class="reference external" href="https://bugs.python.org/9723">Issue #9723</a>: Add shlex.quote functions, to escape filenames and command
lines.</li>
<li><a class="reference external" href="https://bugs.python.org/12603">Issue #12603</a>: Fix pydoc.synopsis() on files with non-negative st_mtime.</li>
<li><a class="reference external" href="https://bugs.python.org/12514">Issue #12514</a>: Use try/finally to assure the timeit module restores garbage
collections when it is done.</li>
<li><a class="reference external" href="https://bugs.python.org/12607">Issue #12607</a>: In subprocess, fix issue where if stdin, stdout or stderr is
given as a low fd, it gets overwritten.</li>
<li><a class="reference external" href="https://bugs.python.org/12576">Issue #12576</a>: Fix urlopen behavior on sites which do not send (or obfuscates)
<tt class="docutils literal"><span class="pre">Connection:</span> <span class="pre">close</span></tt> header.</li>
<li><a class="reference external" href="https://bugs.python.org/12560">Issue #12560</a>: Build libpython.so on OpenBSD. Patch by Stefan Sperling.</li>
<li><a class="reference external" href="https://bugs.python.org/1813">Issue #1813</a>: Fix codec lookup under Turkish locales.</li>
<li><a class="reference external" href="https://bugs.python.org/12591">Issue #12591</a>: Improve support of &#8220;universal newlines&#8221; in the subprocess
module: the piped streams can now be properly read from or written to.</li>
<li><a class="reference external" href="https://bugs.python.org/12591">Issue #12591</a>: Allow io.TextIOWrapper to work with raw IO objects (without
a read1() method), and add a <em>write_through</em> parameter to mandate
unbuffered writes.</li>
<li><a class="reference external" href="https://bugs.python.org/10883">Issue #10883</a>: Fix socket leaks in urllib.request when using FTP.</li>
<li><a class="reference external" href="https://bugs.python.org/12592">Issue #12592</a>: Make Python build on OpenBSD 5 (and future major releases).</li>
<li><a class="reference external" href="https://bugs.python.org/12372">Issue #12372</a>: POSIX semaphores are broken on AIX: don&#8217;t use them.</li>
<li><a class="reference external" href="https://bugs.python.org/12551">Issue #12551</a>: Provide a get_channel_binding() method on SSL sockets so as
to get channel binding data for the current SSL session (only the
&#8220;tls-unique&#8221; channel binding is implemented).  This allows the implementation
of certain authentication mechanisms such as SCRAM-SHA-1-PLUS.  Patch by
Jacek Konieczny.</li>
<li><a class="reference external" href="https://bugs.python.org/665194">Issue #665194</a>: email.utils now has format_datetime and parsedate_to_datetime
functions, allowing for round tripping of RFC2822 format dates.</li>
<li><a class="reference external" href="https://bugs.python.org/12571">Issue #12571</a>: Add a plat-linux3 directory mirroring the plat-linux2
directory, so that &#8220;import DLFCN&#8221; and other similar imports work on
Linux 3.0.</li>
<li><a class="reference external" href="https://bugs.python.org/7484">Issue #7484</a>: smtplib no longer puts &lt;&gt; around addresses in VRFY and EXPN
commands; they aren&#8217;t required and in fact postfix doesn&#8217;t support that form.</li>
<li><a class="reference external" href="https://bugs.python.org/12273">Issue #12273</a>: Remove ast.__version__. AST changes can be accounted for by
checking sys.version_info or sys._mercurial.</li>
<li>Silence spurious &#8220;broken pipe&#8221; tracebacks when shutting down a
ProcessPoolExecutor.</li>
<li>Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor
by joining all queues and processes when shutdown() is called.</li>
<li><a class="reference external" href="https://bugs.python.org/11603">Issue #11603</a>: Fix a crash when __str__ is rebound as __repr__.  Patch by
Andreas Stührk.</li>
<li><a class="reference external" href="https://bugs.python.org/11321">Issue #11321</a>: Fix a crash with multiple imports of the _pickle module when
embedding Python.  Patch by Andreas Stührk.</li>
<li><a class="reference external" href="https://bugs.python.org/6755">Issue #6755</a>: Add get_wch() method to curses.window class. Patch by Iñigo
Serna.</li>
<li>Add cgi.closelog() function to close the log file.</li>
<li><a class="reference external" href="https://bugs.python.org/12502">Issue #12502</a>: asyncore: fix polling loop with AF_UNIX sockets.</li>
<li><a class="reference external" href="https://bugs.python.org/4376">Issue #4376</a>: ctypes now supports nested structures in a endian different than
the parent structure. Patch by Vlad Riscutia.</li>
<li>Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a
TextIOWrapper to a huge value, not TypeError.</li>
<li><a class="reference external" href="https://bugs.python.org/12504">Issue #12504</a>: Close file handles in a timely manner in packaging.database.
This fixes a bug with the remove (uninstall) feature on Windows.</li>
<li>Issues #12169 and #10510: Factor out code used by various packaging commands
to make HTTP POST requests, and make sure it uses CRLF.</li>
<li><a class="reference external" href="https://bugs.python.org/12016">Issue #12016</a>: Multibyte CJK decoders now resynchronize faster. They only
ignore the first byte of an invalid byte sequence. For example,
b&#8217;xffn&#8217;.decode(&#8216;gb2312&#8217;, &#8216;replace&#8217;) gives &#8216;ufffdn&#8217; instead of &#8216;ufffd&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/12459">Issue #12459</a>: time.sleep() now raises a ValueError if the sleep length is
negative, instead of an infinite sleep on Windows or raising an IOError on
Linux for example, to have the same behaviour on all platforms.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: pydoc: html_getfile() now uses tokenize.open() to support
Python scripts using a encoding different than UTF-8 (read the coding cookie
of the script).</li>
<li><a class="reference external" href="https://bugs.python.org/12493">Issue #12493</a>: subprocess: Popen.communicate() now also handles EINTR errors
if the process has only one pipe.</li>
<li><a class="reference external" href="https://bugs.python.org/12467">Issue #12467</a>: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()[&#8216;__file__&#8217;] is None.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: pydoc: importfile() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to avoid encoding issues.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: runpy: run_path() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to support other encodings
than UTF-8 (scripts using the coding cookie).</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: xml.dom.pulldom: parse() now opens files in binary mode instead
of the text mode (using the locale encoding) to avoid encoding issues.</li>
<li><a class="reference external" href="https://bugs.python.org/12147">Issue #12147</a>: Adjust the new-in-3.2 smtplib.send_message method for better
conformance to the RFCs: correctly handle Sender and Resent- headers.</li>
<li><a class="reference external" href="https://bugs.python.org/12352">Issue #12352</a>: Fix a deadlock in multiprocessing.Heap when a block is freed by
the garbage collector while the Heap lock is held.</li>
<li><a class="reference external" href="https://bugs.python.org/12462">Issue #12462</a>: time.sleep() now immediately calls the (Python) signal handler
if it is interrupted by a signal, instead of having to wait until the next
instruction.</li>
<li><a class="reference external" href="https://bugs.python.org/12442">Issue #12442</a>: new shutil.disk_usage function, providing total, used and free
disk space statistics.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: The XInclude default loader of xml.etree now decodes files from
UTF-8 instead of the locale encoding if the encoding is not specified. It now
also opens XML files for the parser in binary mode instead of the text mode
to avoid encoding issues.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: doctest.debug_script() doesn&#8217;t create a temporary file
anymore to avoid encoding issues.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: pydoc.synopsis() now reads the encoding cookie if available,
to read the Python script from the right encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/12451">Issue #12451</a>: distutils now opens the setup script in binary mode to read the
encoding cookie, instead of opening it in UTF-8.</li>
<li><a class="reference external" href="https://bugs.python.org/9516">Issue #9516</a>: On Mac OS X, change Distutils to no longer globally attempt to
check or set the MACOSX_DEPLOYMENT_TARGET environment variable for the
interpreter process.  This could cause failures in non-Distutils subprocesses
and was unreliable since tests or user programs could modify the interpreter
environment after Distutils set it.  Instead, have Distutils set the
deployment target only in the environment of each build subprocess.  It is
still possible to globally override the default by setting
MACOSX_DEPLOYMENT_TARGET before launching the interpreter; its value must be
greater or equal to the default value, the value with which the interpreter
was built.  Also, implement the same handling in packaging.</li>
<li><a class="reference external" href="https://bugs.python.org/12422">Issue #12422</a>: In the copy module, don&#8217;t store objects that are their own copy
in the memo dict.</li>
<li><a class="reference external" href="https://bugs.python.org/12303">Issue #12303</a>: Add sigwaitinfo() and sigtimedwait() to the signal module.</li>
<li><a class="reference external" href="https://bugs.python.org/12404">Issue #12404</a>: Remove C89 incompatible code from mmap module. Patch by Akira
Kitada.</li>
<li><a class="reference external" href="https://bugs.python.org/1874">Issue #1874</a>: email now detects and reports as a defect the presence of
any CTE other than 7bit, 8bit, or binary on a multipart.</li>
<li><a class="reference external" href="https://bugs.python.org/12383">Issue #12383</a>: Fix subprocess module with env={}: don&#8217;t copy the environment
variables, start with an empty environment.</li>
<li><a class="reference external" href="https://bugs.python.org/11637">Issue #11637</a>: Fix support for importing packaging setup hooks from the
project directory.</li>
<li><a class="reference external" href="https://bugs.python.org/6771">Issue #6771</a>: Moved the curses.wrapper function from the single-function
wrapper module into __init__, eliminating the module.  Since __init__ was
already importing the function to curses.wrapper, there is no API change.</li>
<li><a class="reference external" href="https://bugs.python.org/11584">Issue #11584</a>: email.header.decode_header no longer fails if the header
passed to it is a Header object, and Header/make_header no longer fail
if given binary unknown-8bit input.</li>
<li><a class="reference external" href="https://bugs.python.org/11700">Issue #11700</a>: mailbox proxy object close methods can now be called multiple
times without error.</li>
<li><a class="reference external" href="https://bugs.python.org/11767">Issue #11767</a>: Correct file descriptor leak in mailbox&#8217;s __getitem__ method.</li>
<li><a class="reference external" href="https://bugs.python.org/12133">Issue #12133</a>: AbstractHTTPHandler.do_open() of urllib.request closes the HTTP
connection if its getresponse() method fails with a socket error. Patch
written by Ezio Melotti.</li>
<li><a class="reference external" href="https://bugs.python.org/12240">Issue #12240</a>: Allow multiple setup hooks in packaging&#8217;s setup.cfg files.
Original patch by Erik Bray.</li>
<li><a class="reference external" href="https://bugs.python.org/9284">Issue #9284</a>: Allow inspect.findsource() to find the source of doctest
functions.</li>
<li><a class="reference external" href="https://bugs.python.org/11595">Issue #11595</a>: Fix assorted bugs in packaging.util.cfg_to_args, a
compatibility helper for the distutils-packaging transition.  Original patch
by Erik Bray.</li>
<li><a class="reference external" href="https://bugs.python.org/12287">Issue #12287</a>: In ossaudiodev, check that the device isn&#8217;t closed in several
methods.</li>
<li><a class="reference external" href="https://bugs.python.org/12009">Issue #12009</a>: Fixed regression in netrc file comment handling.</li>
<li><a class="reference external" href="https://bugs.python.org/12246">Issue #12246</a>: Warn and fail when trying to install a third-party project from
an uninstalled Python (built in a source checkout).  Original patch by
Tshepang Lekhonkhobe.</li>
<li><a class="reference external" href="https://bugs.python.org/10694">Issue #10694</a>: zipfile now ignores garbage at the end of a zipfile.</li>
<li><a class="reference external" href="https://bugs.python.org/12283">Issue #12283</a>: Fixed regression in smtplib quoting of leading dots in DATA.</li>
<li><a class="reference external" href="https://bugs.python.org/10424">Issue #10424</a>: Argparse now includes the names of the missing required
arguments in the missing arguments error message.</li>
<li><a class="reference external" href="https://bugs.python.org/12168">Issue #12168</a>: SysLogHandler now allows NUL termination to be controlled using
a new &#8216;append_nul&#8217; attribute on the handler.</li>
<li><a class="reference external" href="https://bugs.python.org/11583">Issue #11583</a>: Speed up os.path.isdir on Windows by using GetFileAttributes
instead of os.stat.</li>
<li><a class="reference external" href="https://bugs.python.org/12021">Issue #12021</a>: Make mmap&#8217;s read() method argument optional. Patch by Petri
Lehtinen.</li>
<li><a class="reference external" href="https://bugs.python.org/9205">Issue #9205</a>: concurrent.futures.ProcessPoolExecutor now detects killed
children and raises BrokenProcessPool in such a situation.  Previously it
would reliably freeze/deadlock.</li>
<li><a class="reference external" href="https://bugs.python.org/12040">Issue #12040</a>: Expose a new attribute <tt class="docutils literal"><span class="pre">sentinel</span></tt> on instances of
<tt class="docutils literal"><span class="pre">multiprocessing.Process</span></tt>.  Also, fix Process.join() to not use polling
anymore, when given a timeout.</li>
<li><a class="reference external" href="https://bugs.python.org/11893">Issue #11893</a>: Remove obsolete internal wrapper class <tt class="docutils literal"><span class="pre">SSLFakeFile</span></tt> in the
smtplib module.  Patch by Catalin Iacob.</li>
<li><a class="reference external" href="https://bugs.python.org/12080">Issue #12080</a>: Fix a Decimal.power() case that took an unreasonably long time
to compute.</li>
<li><a class="reference external" href="https://bugs.python.org/12221">Issue #12221</a>: Remove __version__ attributes from pyexpat, pickle, tarfile,
pydoc, tkinter, and xml.parsers.expat. This were useless version constants
left over from the Mercurial transition</li>
<li>Named tuples now work correctly with vars().</li>
<li><a class="reference external" href="https://bugs.python.org/12085">Issue #12085</a>: Fix an attribute error in subprocess.Popen destructor if the
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.</li>
<li><a class="reference external" href="https://bugs.python.org/12028">Issue #12028</a>: Make threading._get_ident() public, rename it to
threading.get_ident() and document it. This function was already used using
_thread.get_ident().</li>
<li><a class="reference external" href="https://bugs.python.org/12171">Issue #12171</a>: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls
encreset() instead of decreset().</li>
<li><a class="reference external" href="https://bugs.python.org/12218">Issue #12218</a>: Removed wsgiref.egg-info.</li>
<li><a class="reference external" href="https://bugs.python.org/12196">Issue #12196</a>: Add pipe2() to the os module.</li>
<li><a class="reference external" href="https://bugs.python.org/985064">Issue #985064</a>: Make plistlib more resilient to faulty input plists.
Patch by Mher Movsisyan.</li>
<li><a class="reference external" href="https://bugs.python.org/1625">Issue #1625</a>: BZ2File and bz2.decompress() now support multi-stream files.
Initial patch by Nir Aides.</li>
<li><a class="reference external" href="https://bugs.python.org/12175">Issue #12175</a>: BufferedReader.read(-1) now calls raw.readall() if available.</li>
<li><a class="reference external" href="https://bugs.python.org/12175">Issue #12175</a>: FileIO.readall() now only reads the file position and size
once.</li>
<li><a class="reference external" href="https://bugs.python.org/12175">Issue #12175</a>: RawIOBase.readall() now returns None if read() returns None.</li>
<li><a class="reference external" href="https://bugs.python.org/12175">Issue #12175</a>: FileIO.readall() now raises a ValueError instead of an IOError
if the file is closed.</li>
<li><a class="reference external" href="https://bugs.python.org/11109">Issue #11109</a>: New service_action method for BaseServer, used by ForkingMixin
class for cleanup. Initial Patch by Justin Warkentin.</li>
<li><a class="reference external" href="https://bugs.python.org/12045">Issue #12045</a>: Avoid duplicate execution of command in
ctypes.util._get_soname().  Patch by Sijin Joseph.</li>
<li><a class="reference external" href="https://bugs.python.org/10818">Issue #10818</a>: Remove the Tk GUI and the serve() function of the pydoc module,
pydoc -g has been deprecated in Python 3.2 and it has a new enhanced web
server.</li>
<li><a class="reference external" href="https://bugs.python.org/1441530">Issue #1441530</a>: In imaplib, read the data in one chunk to speed up large
reads and simplify code.</li>
<li><a class="reference external" href="https://bugs.python.org/12070">Issue #12070</a>: Fix the Makefile parser of the sysconfig module to handle
correctly references to &#8220;bogus variable&#8221; (e.g. &#8220;prefix=$/opt/python&#8221;).</li>
<li><a class="reference external" href="https://bugs.python.org/12100">Issue #12100</a>: Don&#8217;t reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.</li>
<li><a class="reference external" href="https://bugs.python.org/12049">Issue #12049</a>: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
module.</li>
<li><a class="reference external" href="https://bugs.python.org/6501">Issue #6501</a>: os.device_encoding() returns None on Windows if the application
has no console.</li>
<li><a class="reference external" href="https://bugs.python.org/12105">Issue #12105</a>: Add O_CLOEXEC to the os module.</li>
<li><a class="reference external" href="https://bugs.python.org/12079">Issue #12079</a>: Decimal(&#8216;Infinity&#8217;).fma(Decimal(&#8216;0&#8217;), (3.91224318126786e+19+0j))
now raises TypeError (reflecting the invalid type of the 3rd argument) rather
than Decimal.InvalidOperation.</li>
<li><a class="reference external" href="https://bugs.python.org/12124">Issue #12124</a>: zipimport doesn&#8217;t keep a reference to zlib.decompress() anymore
to be able to unload the module.</li>
<li>Add the packaging module, an improved fork of distutils (also known as
distutils2).</li>
<li><a class="reference external" href="https://bugs.python.org/12065">Issue #12065</a>: connect_ex() on an SSL socket now returns the original errno
when the socket&#8217;s timeout expires (it used to return None).</li>
<li><a class="reference external" href="https://bugs.python.org/8809">Issue #8809</a>: The SMTP_SSL constructor and SMTP.starttls() now support
passing a <tt class="docutils literal"><span class="pre">context</span></tt> argument pointing to an ssl.SSLContext instance.
Patch by Kasun Herath.</li>
<li><a class="reference external" href="https://bugs.python.org/9516">Issue #9516</a>: <a class="reference external" href="https://bugs.python.org/9516">Issue #9516</a>: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET
is set in shell.</li>
<li><a class="reference external" href="https://bugs.python.org/8650">Issue #8650</a>: Make zlib module 64-bit clean. compress(), decompress() and
their incremental counterparts now raise OverflowError if given an input
larger than 4GB, instead of silently truncating the input and returning
an incorrect result.</li>
<li><a class="reference external" href="https://bugs.python.org/12050">Issue #12050</a>: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.</li>
<li><a class="reference external" href="https://bugs.python.org/12062">Issue #12062</a>: Fix a flushing bug when doing a certain type of I/O sequence
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).</li>
<li><a class="reference external" href="https://bugs.python.org/9971">Issue #9971</a>: Write an optimized implementation of BufferedReader.readinto().
Patch by John O&#8217;Connor.</li>
<li><a class="reference external" href="https://bugs.python.org/11799">Issue #11799</a>: urllib.request Authentication Handlers will raise a ValueError
when presented with an unsupported Authentication Scheme. Patch contributed
by Yuval Greenfield.</li>
<li><a class="reference external" href="https://bugs.python.org/10419">Issue #10419</a>, #6011: build_scripts command of distutils handles correctly
non-ASCII path (path to the Python executable). Open and write the script in
binary mode, but ensure that the shebang is decodable from UTF-8 and from the
encoding of the script.</li>
<li><a class="reference external" href="https://bugs.python.org/8498">Issue #8498</a>: In socket.accept(), allow to specify 0 as a backlog value in
order to accept exactly one connection.  Patch by Daniel Evers.</li>
<li><a class="reference external" href="https://bugs.python.org/12011">Issue #12011</a>: signal.signal() and signal.siginterrupt() raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.</li>
<li><a class="reference external" href="https://bugs.python.org/3709">Issue #3709</a>: add a flush_headers method to BaseHTTPRequestHandler, which
manages the sending of headers to output stream and flushing the internal
headers buffer. Patch contribution by Andrew Schaaf</li>
<li><a class="reference external" href="https://bugs.python.org/11743">Issue #11743</a>: Rewrite multiprocessing connection classes in pure Python.</li>
<li><a class="reference external" href="https://bugs.python.org/11164">Issue #11164</a>: Stop trying to use _xmlplus in the xml module.</li>
<li><a class="reference external" href="https://bugs.python.org/11888">Issue #11888</a>: Add log2 function to math module. Patch written by Mark
Dickinson.</li>
<li><a class="reference external" href="https://bugs.python.org/12012">Issue #12012</a>: ssl.PROTOCOL_SSLv2 becomes optional.</li>
<li><a class="reference external" href="https://bugs.python.org/8407">Issue #8407</a>: The signal handler writes the signal number as a single byte
instead of a nul byte into the wakeup file descriptor. So it is possible to
wait more than one signal and know which signals were raised.</li>
<li><a class="reference external" href="https://bugs.python.org/8407">Issue #8407</a>: Add pthread_kill(), sigpending() and sigwait() functions to the
signal module.</li>
<li><a class="reference external" href="https://bugs.python.org/11927">Issue #11927</a>: SMTP_SSL now uses port 465 by default as documented.  Patch
by Kasun Herath.</li>
<li><a class="reference external" href="https://bugs.python.org/12002">Issue #12002</a>: ftplib&#8217;s abort() method raises TypeError.</li>
<li><a class="reference external" href="https://bugs.python.org/11916">Issue #11916</a>: Add a number of MacOSX specific definitions to the errno module.
Patch by Pierre Carrier.</li>
<li><a class="reference external" href="https://bugs.python.org/11999">Issue #11999</a>: fixed sporadic sync failure mailbox.Maildir due to its trying to
detect mtime changes by comparing to the system clock instead of to the
previous value of the mtime.</li>
<li><a class="reference external" href="https://bugs.python.org/11072">Issue #11072</a>: added MLSD command (RFC-3659) support to ftplib.</li>
<li><a class="reference external" href="https://bugs.python.org/8808">Issue #8808</a>: The IMAP4_SSL constructor now allows passing an SSLContext
parameter to control parameters of the secure channel.  Patch by Sijin
Joseph.</li>
<li>ntpath.samefile failed to notice that &#8220;a.txt&#8221; and &#8220;A.TXT&#8221; refer to the same
file on Windows XP. As noticed in <a class="reference external" href="https://bugs.python.org/10684">issue #10684</a>.</li>
<li><a class="reference external" href="https://bugs.python.org/12000">Issue #12000</a>: When a SSL certificate has a subjectAltName without any
dNSName entry, ssl.match_hostname() should use the subject&#8217;s commonName.
Patch by Nicolas Bareil.</li>
<li><a class="reference external" href="https://bugs.python.org/10775">Issue #10775</a>: assertRaises, assertRaisesRegex, assertWarns, and
assertWarnsRegex now accept a keyword argument &#8216;msg&#8217; when used as context
managers.  Initial patch by Winston Ewert.</li>
<li><a class="reference external" href="https://bugs.python.org/10684">Issue #10684</a>: shutil.move used to delete a folder on case insensitive
filesystems when the source and destination name where the same except
for the case.</li>
<li><a class="reference external" href="https://bugs.python.org/11647">Issue #11647</a>: objects created using contextlib.contextmanager now support
more than one call to the function when used as a decorator. Initial patch
by Ysj Ray.</li>
<li><a class="reference external" href="https://bugs.python.org/11930">Issue #11930</a>: Removed deprecated time.accept2dyear variable.
Removed year &gt;= 1000 restriction from datetime.strftime.</li>
<li>logging: don&#8217;t define QueueListener if Python has no thread support.</li>
<li>functools.cmp_to_key() now works with collections.Hashable().</li>
<li><a class="reference external" href="https://bugs.python.org/11277">Issue #11277</a>: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get
around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.</li>
<li><a class="reference external" href="https://bugs.python.org/8407">Issue #8407</a>: Add signal.pthread_sigmask() function to fetch and/or change the
signal mask of the calling thread.</li>
<li><a class="reference external" href="https://bugs.python.org/11858">Issue #11858</a>: configparser.ExtendedInterpolation expected lower-case section
names.</li>
<li><a class="reference external" href="https://bugs.python.org/11324">Issue #11324</a>: ConfigParser(interpolation=None) now works correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/11811">Issue #11811</a>: ssl.get_server_certificate() is now IPv6-compatible.  Patch
by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/11763">Issue #11763</a>: don&#8217;t use difflib in TestCase.assertMultiLineEqual if the
strings are too long.</li>
<li><a class="reference external" href="https://bugs.python.org/11236">Issue #11236</a>: getpass.getpass responds to ctrl-c or ctrl-z on terminal.</li>
<li><a class="reference external" href="https://bugs.python.org/11856">Issue #11856</a>: Speed up parsing of JSON numbers.</li>
<li><a class="reference external" href="https://bugs.python.org/11005">Issue #11005</a>: threading.RLock()._release_save() raises a RuntimeError if the
lock was not acquired.</li>
<li><a class="reference external" href="https://bugs.python.org/11258">Issue #11258</a>: Speed up ctypes.util.find_library() under Linux by a factor
of 5 to 10.  Initial patch by Jonas H.</li>
<li><a class="reference external" href="https://bugs.python.org/11382">Issue #11382</a>: Trivial system calls, such as dup() or pipe(), needn&#8217;t
release the GIL.  Patch by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/11223">Issue #11223</a>: Add threading._info() function providing informations about
the thread implementation.</li>
<li><a class="reference external" href="https://bugs.python.org/11731">Issue #11731</a>: simplify/enhance email parser/generator API by introducing
policy objects.</li>
<li><a class="reference external" href="https://bugs.python.org/11768">Issue #11768</a>: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.</li>
<li><a class="reference external" href="https://bugs.python.org/11492">Issue #11492</a>: fix several issues with header folding in the email package.</li>
<li><a class="reference external" href="https://bugs.python.org/11852">Issue #11852</a>: Add missing imports and update tests.</li>
<li><a class="reference external" href="https://bugs.python.org/11875">Issue #11875</a>: collections.OrderedDict&#8217;s __reduce__ was temporarily
mutating the object instead of just working on a copy.</li>
<li><a class="reference external" href="https://bugs.python.org/11467">Issue #11467</a>: Fix urlparse behavior when handling urls which contains scheme
specific part only digits. Patch by Santoso Wijaya.</li>
<li>collections.Counter().copy() now works correctly for subclasses.</li>
<li><a class="reference external" href="https://bugs.python.org/11474">Issue #11474</a>: Fix the bug with url2pathname() handling of &#8216;/C|/&#8217; on Windows.
Patch by Santoso Wijaya.</li>
<li><a class="reference external" href="https://bugs.python.org/11684">Issue #11684</a>: complete email.parser bytes API by adding BytesHeaderParser.</li>
<li>The bz2 module now handles 4GiB+ input buffers correctly.</li>
<li><a class="reference external" href="https://bugs.python.org/9233">Issue #9233</a>: Fix json.loads(&#8216;{}&#8217;) to return a dict (instead of a list), when
_json is not available.</li>
<li><a class="reference external" href="https://bugs.python.org/11830">Issue #11830</a>: Remove unnecessary introspection code in the decimal module.</li>
<li><a class="reference external" href="https://bugs.python.org/11703">Issue #11703</a>: urllib2.geturl() does not return correct url when the original
url contains #fragment.</li>
<li><a class="reference external" href="https://bugs.python.org/10019">Issue #10019</a>: Fixed regression in json module where an indent of 0 stopped
adding newlines and acted instead like &#8216;None&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/11186">Issue #11186</a>: pydoc ignores a module if its name contains a surrogate
character in the index of modules.</li>
<li><a class="reference external" href="https://bugs.python.org/11815">Issue #11815</a>: Use a light-weight SimpleQueue for the result queue in
concurrent.futures.ProcessPoolExecutor.</li>
<li><a class="reference external" href="https://bugs.python.org/5162">Issue #5162</a>: Treat services like frozen executables to allow child spawning
from multiprocessing.forking on Windows.</li>
<li>logging.basicConfig now supports an optional &#8216;handlers&#8217; argument taking an
iterable of handlers to be added to the root logger. Additional parameter
checks were also added to basicConfig.</li>
<li><a class="reference external" href="https://bugs.python.org/11814">Issue #11814</a>: Fix likely typo in multiprocessing.Pool._terminate().</li>
<li><a class="reference external" href="https://bugs.python.org/11747">Issue #11747</a>: Fix range formatting in difflib.context_diff() and
difflib.unified_diff().</li>
<li><a class="reference external" href="https://bugs.python.org/8428">Issue #8428</a>: Fix a race condition in multiprocessing.Pool when terminating
worker processes: new processes would be spawned while the pool is being
shut down.  Patch by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/2650">Issue #2650</a>: re.escape() no longer escapes the &#8216;_&#8217;.</li>
<li><a class="reference external" href="https://bugs.python.org/11757">Issue #11757</a>: select.select() now raises ValueError when a negative timeout
is passed (previously, a select.error with EINVAL would be raised).  Patch
by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/7311">Issue #7311</a>: fix html.parser to accept non-ASCII attribute values.</li>
<li><a class="reference external" href="https://bugs.python.org/11605">Issue #11605</a>: email.parser.BytesFeedParser was incorrectly converting
multipart subparts with an 8-bit CTE into unicode instead of preserving the
bytes.</li>
<li><a class="reference external" href="https://bugs.python.org/1690608">Issue #1690608</a>: email.util.formataddr is now RFC 2047 aware: it now has a
charset parameter that defaults to utf-8 and is used as the charset for RFC
2047 encoding when the realname contains non-ASCII characters.</li>
<li><a class="reference external" href="https://bugs.python.org/10963">Issue #10963</a>: Ensure that subprocess.communicate() never raises EPIPE.</li>
<li><a class="reference external" href="https://bugs.python.org/10791">Issue #10791</a>: Implement missing method GzipFile.read1(), allowing GzipFile
to be wrapped in a TextIOWrapper.  Patch by Nadeem Vawda.</li>
<li><a class="reference external" href="https://bugs.python.org/11707">Issue #11707</a>: Added a fast C version of functools.cmp_to_key().
Patch by Filip Gruszczyński.</li>
<li><a class="reference external" href="https://bugs.python.org/11688">Issue #11688</a>: Add sqlite3.Connection.set_trace_callback().  Patch by
Torsten Landschoff.</li>
<li><a class="reference external" href="https://bugs.python.org/11746">Issue #11746</a>: Fix SSLContext.load_cert_chain() to accept elliptic curve
private keys.</li>
<li><a class="reference external" href="https://bugs.python.org/5863">Issue #5863</a>: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new <tt class="docutils literal"><span class="pre">fileobj</span></tt> constructor argument.  Patch by
Nadeem Vawda.</li>
<li>unittest.TestCase.assertSameElements has been removed.</li>
<li>sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not
called yet: detect bootstrap (startup) issues earlier.</li>
<li><a class="reference external" href="https://bugs.python.org/11393">Issue #11393</a>: Add the new faulthandler module.</li>
<li><a class="reference external" href="https://bugs.python.org/11618">Issue #11618</a>: Fix the timeout logic in threading.Lock.acquire() under Windows.</li>
<li>Removed the &#8216;strict&#8217; argument to email.parser.Parser, which has been
deprecated since Python 2.4.</li>
<li><a class="reference external" href="https://bugs.python.org/11256">Issue #11256</a>: Fix inspect.getcallargs on functions that take only keyword
arguments.</li>
<li><a class="reference external" href="https://bugs.python.org/11696">Issue #11696</a>: Fix ID generation in msilib.</li>
<li>itertools.accumulate now supports an optional <em>func</em> argument for
a user-supplied binary function.</li>
<li><a class="reference external" href="https://bugs.python.org/11692">Issue #11692</a>: Remove unnecessary demo functions in subprocess module.</li>
<li><a class="reference external" href="https://bugs.python.org/9696">Issue #9696</a>: Fix exception incorrectly raised by xdrlib.Packer.pack_int when
trying to pack a negative (in-range) integer.</li>
<li><a class="reference external" href="https://bugs.python.org/11675">Issue #11675</a>: multiprocessing.[Raw]Array objects created from an integer size
are now zeroed on creation.  This matches the behaviour specified by the
documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/7639">Issue #7639</a>: Fix short file name generation in bdist_msi</li>
<li><a class="reference external" href="https://bugs.python.org/11635">Issue #11635</a>: Don&#8217;t use polling in worker threads and processes launched by
concurrent.futures.</li>
<li><a class="reference external" href="https://bugs.python.org/5845">Issue #5845</a>: Automatically read readline configuration to enable completion
in interactive mode.</li>
<li><a class="reference external" href="https://bugs.python.org/6811">Issue #6811</a>: Allow importlib to change a code object&#8217;s co_filename attribute
to match the path to where the source code currently is, not where the code
object originally came from.</li>
<li><a class="reference external" href="https://bugs.python.org/8754">Issue #8754</a>: Have importlib use the repr of a module name in error messages.</li>
<li><a class="reference external" href="https://bugs.python.org/11591">Issue #11591</a>: Prevent &#8220;import site&#8221; from modifying sys.path when python
was started with -S.</li>
<li>collections.namedtuple() now adds a _source attribute to the generated
class.  This make the source more accessible than the outdated
&#8220;verbose&#8221; option which prints to stdout but doesn&#8217;t make the source
string available.</li>
<li><a class="reference external" href="https://bugs.python.org/11371">Issue #11371</a>: Mark getopt error messages as localizable.  Patch by Filip
Gruszczyński.</li>
<li><a class="reference external" href="https://bugs.python.org/11333">Issue #11333</a>: Add __slots__ to collections ABCs.</li>
<li><a class="reference external" href="https://bugs.python.org/11628">Issue #11628</a>: cmp_to_key generated class should use __slots__.</li>
<li><a class="reference external" href="https://bugs.python.org/11666">Issue #11666</a>: let help() display named tuple attributes and methods
that start with a leading underscore.</li>
<li><a class="reference external" href="https://bugs.python.org/11662">Issue #11662</a>: Make urllib and urllib2 ignore redirections if the
scheme is not HTTP, HTTPS or FTP (CVE-2011-1521).</li>
<li><a class="reference external" href="https://bugs.python.org/5537">Issue #5537</a>: Fix time2isoz() and time2netscape() functions of
httplib.cookiejar for expiration year greater than 2038 on 32-bit systems.</li>
<li><a class="reference external" href="https://bugs.python.org/4391">Issue #4391</a>: Use proper gettext plural forms in optparse.</li>
<li><a class="reference external" href="https://bugs.python.org/11127">Issue #11127</a>: Raise a TypeError when trying to pickle a socket object.</li>
<li><a class="reference external" href="https://bugs.python.org/11563">Issue #11563</a>: <tt class="docutils literal"><span class="pre">Connection:</span> <span class="pre">close</span></tt> header is sent by requests using URLOpener
class which helps in closing of sockets after connection is over. Patch
contributions by Jeff McNeil and Nadeem Vawda.</li>
<li><a class="reference external" href="https://bugs.python.org/11459">Issue #11459</a>: A <tt class="docutils literal"><span class="pre">bufsize</span></tt> value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.</li>
<li><a class="reference external" href="https://bugs.python.org/5421">Issue #5421</a>: Fix misleading error message when one of socket.sendto()&#8217;s
arguments has the wrong type.  Patch by Nikita Vetoshkin.</li>
<li><a class="reference external" href="https://bugs.python.org/10812">Issue #10812</a>: Add some extra posix functions to the os module.</li>
<li><a class="reference external" href="https://bugs.python.org/10979">Issue #10979</a>: unittest stdout buffering now works with class and module
setup and teardown.</li>
<li><a class="reference external" href="https://bugs.python.org/11243">Issue #11243</a>: fix the parameter querying methods of Message to work if
the headers contain un-encoded non-ASCII data.</li>
<li><a class="reference external" href="https://bugs.python.org/11401">Issue #11401</a>: fix handling of headers with no value; this fixes a regression
relative to Python2 and the result is now the same as it was in Python2.</li>
<li><a class="reference external" href="https://bugs.python.org/9298">Issue #9298</a>: base64 bodies weren&#8217;t being folded to line lengths less than 78,
which was a regression relative to Python2.  Unlike Python2, the last line
of the folded body now ends with a carriage return.</li>
<li><a class="reference external" href="https://bugs.python.org/11560">Issue #11560</a>: shutil.unpack_archive now correctly handles the format
parameter. Patch by Evan Dandrea.</li>
<li><a class="reference external" href="https://bugs.python.org/5870">Issue #5870</a>: Add <a class="reference internal" href="../library/subprocess.html#subprocess.DEVNULL" title="subprocess.DEVNULL"><tt class="xref py py-obj docutils literal"><span class="pre">subprocess.DEVNULL</span></tt></a> constant.</li>
<li><a class="reference external" href="https://bugs.python.org/11133">Issue #11133</a>: fix two cases where inspect.getattr_static can trigger code
execution. Patch by Andreas Stührk.</li>
<li><a class="reference external" href="https://bugs.python.org/11569">Issue #11569</a>: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.</li>
<li><a class="reference external" href="https://bugs.python.org/11501">Issue #11501</a>: disutils.archive_utils.make_zipfile no longer fails if zlib is
not installed. Instead, the zipfile.ZIP_STORED compression is used to create
the ZipFile. Patch by Natalia B. Bidart.</li>
<li><a class="reference external" href="https://bugs.python.org/11289">Issue #11289</a>: <tt class="xref py py-obj docutils literal"><span class="pre">smtp.SMTP</span></tt> class is now a context manager so it can be used
in a <tt class="xref py py-obj docutils literal"><span class="pre">with</span></tt> statement.  Contributed by Giampaolo Rodola.</li>
<li><a class="reference external" href="https://bugs.python.org/11554">Issue #11554</a>: Fixed support for Japanese codecs; previously the body output
encoding was not done if euc-jp or shift-jis was specified as the charset.</li>
<li><a class="reference external" href="https://bugs.python.org/11407">Issue #11407</a>: <tt class="xref py py-obj docutils literal"><span class="pre">TestCase.run</span></tt> returns the result object used or created.
Contributed by Janathan Hartley.</li>
<li><a class="reference external" href="https://bugs.python.org/11500">Issue #11500</a>: Fixed a bug in the OS X proxy bypass code for fully qualified
IP addresses in the proxy exception list.</li>
<li><a class="reference external" href="https://bugs.python.org/11491">Issue #11491</a>: dbm.error is no longer raised when dbm.open is called with
the &#8220;n&#8221; as the flag argument and the file exists. The behavior matches
the documentation and general logic.</li>
<li><a class="reference external" href="https://bugs.python.org/1162477">Issue #1162477</a>: Postel Principle adjustment to email date parsing: handle the
fact that some non-compliant MUAs use &#8216;.&#8217; instead of &#8216;:&#8217; in time specs.</li>
<li><a class="reference external" href="https://bugs.python.org/11131">Issue #11131</a>: Fix sign of zero in decimal.Decimal plus and minus
operations when the rounding mode is ROUND_FLOOR.</li>
<li><a class="reference external" href="https://bugs.python.org/9935">Issue #9935</a>: Speed up pickling of instances of user-defined classes.</li>
<li><a class="reference external" href="https://bugs.python.org/5622">Issue #5622</a>: Fix curses.wrapper to raise correct exception if curses
initialization fails.</li>
<li><a class="reference external" href="https://bugs.python.org/11408">Issue #11408</a>: In threading.Lock.acquire(), only call gettimeofday() when
really necessary.  Patch by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/11391">Issue #11391</a>: Writing to a mmap object created with
<tt class="docutils literal"><span class="pre">mmap.PROT_READ|mmap.PROT_EXEC</span></tt> would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/9795">Issue #9795</a>: add context manager protocol support for nntplib.NNTP class.</li>
<li><a class="reference external" href="https://bugs.python.org/11306">Issue #11306</a>: mailbox in certain cases adapts to an inability to open
certain files in read-write mode.  Previously it detected this by
checking for EACCES, now it also checks for EROFS.</li>
<li><a class="reference external" href="https://bugs.python.org/11265">Issue #11265</a>: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors
on accept(), send() and recv().</li>
<li><a class="reference external" href="https://bugs.python.org/11377">Issue #11377</a>: Deprecate platform.popen() and reimplement it with os.popen().</li>
<li><a class="reference external" href="https://bugs.python.org/8513">Issue #8513</a>: On UNIX, subprocess supports bytes command string.</li>
<li><a class="reference external" href="https://bugs.python.org/10866">Issue #10866</a>: Add socket.sethostname().  Initial patch by Ross Lagerwall.</li>
<li><a class="reference external" href="https://bugs.python.org/11140">Issue #11140</a>: Lock.release() now raises a RuntimeError when attempting
to release an unacquired lock, as claimed in the threading documentation.
The _thread.error exception is now an alias of RuntimeError.  Patch by
Filip Gruszczyński.  Patch for _dummy_thread by Aymeric Augustin.</li>
<li><a class="reference external" href="https://bugs.python.org/8594">Issue #8594</a>: ftplib now provides a source_address parameter to specify which
(address, port) to bind to before connecting.</li>
<li><a class="reference external" href="https://bugs.python.org/11326">Issue #11326</a>: Add the missing connect_ex() implementation for SSL sockets,
and make it work for non-blocking connects.</li>
<li><a class="reference external" href="https://bugs.python.org/11297">Issue #11297</a>: Add collections.ChainMap().</li>
<li><a class="reference external" href="https://bugs.python.org/10755">Issue #10755</a>: Add the posix.flistdir() function.  Patch by Ross Lagerwall.</li>
<li><a class="reference external" href="https://bugs.python.org/4761">Issue #4761</a>: Add the <tt class="docutils literal"><span class="pre">*at()</span></tt> family of functions (openat(), etc.) to the
posix module.  Patch by Ross Lagerwall.</li>
<li><a class="reference external" href="https://bugs.python.org/7322">Issue #7322</a>: Trying to read from a socket&#8217;s file-like object after a timeout
occurred now raises an error instead of silently losing data.</li>
<li><a class="reference external" href="https://bugs.python.org/11291">Issue #11291</a>: poplib.POP no longer suppresses errors on quit().</li>
<li><a class="reference external" href="https://bugs.python.org/11177">Issue #11177</a>: asyncore&#8217;s create_socket() arguments can now be omitted.</li>
<li><a class="reference external" href="https://bugs.python.org/6064">Issue #6064</a>: Add a <tt class="docutils literal"><span class="pre">daemon</span></tt> keyword argument to the threading.Thread
and multiprocessing.Process constructors in order to override the
default behaviour of inheriting the daemonic property from the current
thread/process.</li>
<li><a class="reference external" href="https://bugs.python.org/10956">Issue #10956</a>: Buffered I/O classes retry reading or writing after a signal
has arrived and the handler returned successfully.</li>
<li><a class="reference external" href="https://bugs.python.org/10784">Issue #10784</a>: New os.getpriority() and os.setpriority() functions.</li>
<li><a class="reference external" href="https://bugs.python.org/11114">Issue #11114</a>: Fix catastrophic performance of tell() on text files (up
to 1000x faster in some cases).  It is still one to two order of magnitudes
slower than binary tell().</li>
<li><a class="reference external" href="https://bugs.python.org/10882">Issue #10882</a>: Add os.sendfile function.</li>
<li><a class="reference external" href="https://bugs.python.org/10868">Issue #10868</a>: Allow usage of the register method of an ABC as a class
decorator.</li>
<li><a class="reference external" href="https://bugs.python.org/11224">Issue #11224</a>: Fixed a regression in tarfile that affected the file-like
objects returned by TarFile.extractfile() regarding performance, memory
consumption and failures with the stream interface.</li>
<li><a class="reference external" href="https://bugs.python.org/10924">Issue #10924</a>: Adding salt and Modular Crypt Format to crypt library.
Moved old C wrapper to _crypt, and added a Python wrapper with
enhanced salt generation and simpler API for password generation.</li>
<li><a class="reference external" href="https://bugs.python.org/11074">Issue #11074</a>: Make &#8216;tokenize&#8217; so it can be reloaded.</li>
<li><a class="reference external" href="https://bugs.python.org/11085">Issue #11085</a>: Moved collections abstract base classes into a separate
module called collections.abc, following the pattern used by importlib.abc.
For backwards compatibility, the names are imported into the collections
module.</li>
<li><a class="reference external" href="https://bugs.python.org/4681">Issue #4681</a>: Allow mmap() to work on file sizes and offsets larger than
4GB, even on 32-bit builds.  Initial patch by Ross Lagerwall, adapted for
32-bit Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/11169">Issue #11169</a>: compileall module uses repr() to format filenames and paths to
escape surrogate characters and show spaces.</li>
<li><a class="reference external" href="https://bugs.python.org/11089">Issue #11089</a>: Fix performance issue limiting the use of ConfigParser()
with large config files.</li>
<li><a class="reference external" href="https://bugs.python.org/10276">Issue #10276</a>: Fix the results of zlib.crc32() and zlib.adler32() on buffers
larger than 4GB.  Patch by Nadeem Vawda.</li>
<li><a class="reference external" href="https://bugs.python.org/11388">Issue #11388</a>: Added a clear() method to MutableSequence</li>
<li><a class="reference external" href="https://bugs.python.org/11174">Issue #11174</a>: Add argparse.MetavarTypeHelpFormatter, which uses type names
for the names of optional and positional arguments in help messages.</li>
<li><a class="reference external" href="https://bugs.python.org/9348">Issue #9348</a>: Raise an early error if argparse nargs and metavar don&#8217;t match.</li>
<li><a class="reference external" href="https://bugs.python.org/9026">Issue #9026</a>: Fix order of argparse sub-commands in help messages.</li>
<li><a class="reference external" href="https://bugs.python.org/9347">Issue #9347</a>: Fix formatting for tuples in argparse type= error messages.</li>
<li><a class="reference external" href="https://bugs.python.org/12191">Issue #12191</a>: Added shutil.chown() to change user and/or group owner of a
given path also specifying their names.</li>
<li><a class="reference external" href="https://bugs.python.org/13988">Issue #13988</a>: The _elementtree accelerator is used whenever available.
Now xml.etree.cElementTree becomes a deprecated alias to ElementTree.</li>
</ul>
</div>
<div class="section" id="id149">
<h3>Build<a class="headerlink" href="#id149" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/6807">Issue #6807</a>: Run msisupport.mak earlier.</li>
<li><a class="reference external" href="https://bugs.python.org/10580">Issue #10580</a>: Minor grammar change in Windows installer.</li>
<li><a class="reference external" href="https://bugs.python.org/13326">Issue #13326</a>: Clean __pycache__ directories correctly on OpenBSD.</li>
<li>PEP 393: the configure option &#8211;with-wide-unicode is removed.</li>
<li><a class="reference external" href="https://bugs.python.org/12852">Issue #12852</a>: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
functions on OpenBSD (e.g. fdopendir).</li>
<li><a class="reference external" href="https://bugs.python.org/11863">Issue #11863</a>: Remove support for legacy systems deprecated in Python 3.2
(following PEP 11).  These systems are systems using Mach C Threads,
SunOS lightweight processes, GNU pth threads and IRIX threads.</li>
<li><a class="reference external" href="https://bugs.python.org/8746">Issue #8746</a>: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).</li>
<li><a class="reference external" href="https://bugs.python.org/10645">Issue #10645</a>: Installing Python no longer creates a
Python-X.Y.Z-pyX.Y.egg-info file in the lib-dynload directory.</li>
<li>Do not accidentally include the directory containing sqlite.h twice when
building sqlite3.</li>
<li><a class="reference external" href="https://bugs.python.org/11217">Issue #11217</a>: For 64-bit/32-bit Mac OS X universal framework builds,
ensure &#8220;make install&#8221; creates symlinks in &#8211;prefix bin for the &#8220;-32&#8221;
files in the framework bin directory like the installer does.</li>
<li><a class="reference external" href="https://bugs.python.org/11347">Issue #11347</a>: Use &#8211;no-as-needed when linking libpython3.so.</li>
<li><a class="reference external" href="https://bugs.python.org/11411">Issue #11411</a>: Fix &#8216;make DESTDIR=&#8217; with a relative destination.</li>
<li><a class="reference external" href="https://bugs.python.org/11268">Issue #11268</a>: Prevent Mac OS X Installer failure if Documentation
package had previously been installed.</li>
<li><a class="reference external" href="https://bugs.python.org/11495">Issue #11495</a>: OSF support is eliminated. It was deprecated in Python 3.2.</li>
</ul>
</div>
<div class="section" id="id150">
<h3>IDLE<a class="headerlink" href="#id150" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14409">Issue #14409</a>: IDLE now properly executes commands in the Shell window
when it cannot read the normal config files on startup and
has to use the built-in default key bindings.
There was previously a bug in one of the defaults.</li>
<li>IDLE can be launched as python -m idlelib</li>
<li><a class="reference external" href="https://bugs.python.org/3573">Issue #3573</a>: IDLE hangs when passing invalid command line args
(directory(ies) instead of file(s)) (Patch by Guilherme Polo)</li>
<li><a class="reference external" href="https://bugs.python.org/14200">Issue #14200</a>: IDLE shell crash on printing non-BMP unicode character.</li>
<li><a class="reference external" href="https://bugs.python.org/5219">Issue #5219</a>: Prevent event handler cascade in IDLE.</li>
<li><a class="reference external" href="https://bugs.python.org/964437">Issue #964437</a>: Make IDLE help window non-modal.
Patch by Guilherme Polo and Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/13933">Issue #13933</a>: IDLE auto-complete did not work with some imported
module, like hashlib.  (Patch by Roger Serwy)</li>
<li><a class="reference external" href="https://bugs.python.org/13506">Issue #13506</a>: Add &#8216;&#8217; to path for IDLE Shell when started and restarted with Restart Shell.
Original patches by Marco Scataglini and Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/4625">Issue #4625</a>: If IDLE cannot write to its recent file or breakpoint files,
display a message popup and continue rather than crash.  Original patch by
Roger Serwy.</li>
<li><a class="reference external" href="https://bugs.python.org/8641">Issue #8641</a>: Update IDLE 3 syntax coloring to recognize b&#8221;..&#8221; and not u&#8221;..&#8221;.
Patch by Tal Einat.</li>
<li><a class="reference external" href="https://bugs.python.org/13296">Issue #13296</a>: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)</li>
<li><a class="reference external" href="https://bugs.python.org/9871">Issue #9871</a>: Prevent IDLE 3 crash when given byte stings
with invalid hex escape sequences, like b&#8217;x0&#8217;.
(Original patch by Claudiu Popa.)</li>
<li><a class="reference external" href="https://bugs.python.org/12636">Issue #12636</a>: IDLE reads the coding cookie when executing a Python script.</li>
<li><a class="reference external" href="https://bugs.python.org/12540">Issue #12540</a>: Prevent zombie IDLE processes on Windows due to changes
in os.kill().</li>
<li><a class="reference external" href="https://bugs.python.org/12590">Issue #12590</a>: IDLE editor window now always displays the first line
when opening a long file.  With Tk 8.5, the first line was hidden.</li>
<li><a class="reference external" href="https://bugs.python.org/11088">Issue #11088</a>: don&#8217;t crash when using F5 to run a script in IDLE on MacOSX
with Tk 8.5.</li>
<li><a class="reference external" href="https://bugs.python.org/1028">Issue #1028</a>: Tk returns invalid Unicode null in %A: UnicodeDecodeError.
With Tk &lt; 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused
IDLE to exit.  Converted to valid Unicode null in PythonCmd().</li>
<li><a class="reference external" href="https://bugs.python.org/11718">Issue #11718</a>: IDLE&#8217;s open module dialog couldn&#8217;t find the __init__.py
file in a package.</li>
</ul>
</div>
<div class="section" id="id151">
<h3>Tools/Demos<a class="headerlink" href="#id151" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/14053">Issue #14053</a>: patchcheck.py (&#8220;make patchcheck&#8221;) now works with MQ patches.
Patch by Francisco Martín Brugué.</li>
<li><a class="reference external" href="https://bugs.python.org/13930">Issue #13930</a>: 2to3 is now able to write its converted output files to another
directory tree as well as copying unchanged files and altering the file
suffix.  See its new -o, -W and &#8211;add-suffix options.  This makes it more
useful in many automated code translation workflows.</li>
<li><a class="reference external" href="https://bugs.python.org/13628">Issue #13628</a>: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.</li>
<li><a class="reference external" href="https://bugs.python.org/11996">Issue #11996</a>: libpython (gdb), replace &#8220;py-bt&#8221; command by &#8220;py-bt-full&#8221; and
add a smarter &#8220;py-bt&#8221; command printing a classic Python traceback.</li>
<li><a class="reference external" href="https://bugs.python.org/11179">Issue #11179</a>: Make ccbench work under Python 3.1 and 2.7 again.</li>
<li><a class="reference external" href="https://bugs.python.org/10639">Issue #10639</a>: reindent.py no longer converts newlines and will raise
an error if attempting to convert a file with mixed newlines.
&#8220;&#8211;newline&#8221; option added to specify new line character.</li>
</ul>
</div>
<div class="section" id="id152">
<h3>Extension Modules<a class="headerlink" href="#id152" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/16847">Issue #16847</a>: Fixed improper use of _PyUnicode_CheckConsistency() in
non-pydebug builds. Several extension modules now compile cleanly when
assert()s are enabled in standard builds (-DDEBUG flag).</li>
<li><a class="reference external" href="https://bugs.python.org/13840">Issue #13840</a>: The error message produced by ctypes.create_string_buffer
when given a Unicode string has been fixed.</li>
<li><a class="reference external" href="https://bugs.python.org/9975">Issue #9975</a>: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.</li>
<li><a class="reference external" href="https://bugs.python.org/7777">Issue #7777</a>: socket: Add Reliable Datagram Sockets (PF_RDS) support.</li>
<li><a class="reference external" href="https://bugs.python.org/13159">Issue #13159</a>: FileIO and BZ2Compressor/BZ2Decompressor now use a linear-time
buffer growth strategy instead of a quadratic-time one.</li>
<li><a class="reference external" href="https://bugs.python.org/10141">Issue #10141</a>: socket: Add SocketCAN (PF_CAN) support. Initial patch by
Matthias Fuchs, updated by Tiago Gonçalves.</li>
<li><a class="reference external" href="https://bugs.python.org/13070">Issue #13070</a>: Fix a crash when a TextIOWrapper caught in a reference cycle
would be finalized after the reference to its underlying BufferedRWPair&#8217;s
writer got cleared by the GC.</li>
<li><a class="reference external" href="https://bugs.python.org/12881">Issue #12881</a>: ctypes: Fix segfault with large structure field names.</li>
<li><a class="reference external" href="https://bugs.python.org/13058">Issue #13058</a>: ossaudiodev: fix a file descriptor leak on error. Patch by
Thomas Jarosch.</li>
<li><a class="reference external" href="https://bugs.python.org/13013">Issue #13013</a>: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Thanks to Suman Saha for finding the bug and providing a patch.</li>
<li><a class="reference external" href="https://bugs.python.org/13022">Issue #13022</a>: Fix: _multiprocessing.recvfd() doesn&#8217;t check that
file descriptor was actually received.</li>
<li><a class="reference external" href="https://bugs.python.org/1172711">Issue #1172711</a>: Add &#8216;long long&#8217; support to the array module.
Initial patch by Oren Tirosh and Hirokazu Yamamoto.</li>
<li><a class="reference external" href="https://bugs.python.org/12483">Issue #12483</a>: ctypes: Fix a crash when the destruction of a callback
object triggers the garbage collector.</li>
<li><a class="reference external" href="https://bugs.python.org/12950">Issue #12950</a>: Fix passing file descriptors in multiprocessing, under
OpenIndiana/Illumos.</li>
<li><a class="reference external" href="https://bugs.python.org/12764">Issue #12764</a>: Fix a crash in ctypes when the name of a Structure field is not
a string.</li>
<li><a class="reference external" href="https://bugs.python.org/11241">Issue #11241</a>: subclasses of ctypes.Array can now be subclassed.</li>
<li><a class="reference external" href="https://bugs.python.org/9651">Issue #9651</a>: Fix a crash when ctypes.create_string_buffer(0) was passed to
some functions like file.write().</li>
<li><a class="reference external" href="https://bugs.python.org/10309">Issue #10309</a>: Define _GNU_SOURCE so that mremap() gets the proper
signature.  Without this, architectures where sizeof void* != sizeof int are
broken.  Patch given by Hallvard B Furuseth.</li>
<li><a class="reference external" href="https://bugs.python.org/12051">Issue #12051</a>: Fix segfault in json.dumps() while encoding highly-nested
objects using the C accelerations.</li>
<li><a class="reference external" href="https://bugs.python.org/12017">Issue #12017</a>: Fix segfault in json.loads() while decoding highly-nested
objects using the C accelerations.</li>
<li><a class="reference external" href="https://bugs.python.org/1838">Issue #1838</a>: Prevent segfault in ctypes, when _as_parameter_ on a class is set
to an instance of the class.</li>
</ul>
</div>
<div class="section" id="id153">
<h3>Tests<a class="headerlink" href="#id153" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/13125">Issue #13125</a>: Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.</li>
<li><a class="reference external" href="https://bugs.python.org/13447">Issue #13447</a>: Add a test file to host regression tests for bugs in the
scripts found in the Tools directory.</li>
<li><a class="reference external" href="https://bugs.python.org/10881">Issue #10881</a>: Fix test_site failure with OS X framework builds.</li>
<li><a class="reference external" href="https://bugs.python.org/13901">Issue #13901</a>: Prevent test_distutils failures on OS X with &#8211;enable-shared.</li>
<li><a class="reference external" href="https://bugs.python.org/13862">Issue #13862</a>: Fix spurious failure in test_zlib due to runtime/compile time
minor versions not matching.</li>
<li><a class="reference external" href="https://bugs.python.org/12804">Issue #12804</a>: Fix test_socket and test_urllib2net failures when running tests
on a system without internet access.</li>
<li><a class="reference external" href="https://bugs.python.org/13726">Issue #13726</a>: Fix the ambiguous -S flag in regrtest. It is -o/&#8211;slow for slow
tests.</li>
<li><a class="reference external" href="https://bugs.python.org/11659">Issue #11659</a>: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.</li>
<li><a class="reference external" href="https://bugs.python.org/11577">Issue #11577</a>: fix ResourceWarning triggered by improved binhex test coverage</li>
<li><a class="reference external" href="https://bugs.python.org/11509">Issue #11509</a>: Significantly increase test coverage of fileinput.
Patch by Denver Coneybeare at PyCon 2011 Sprints.</li>
<li><a class="reference external" href="https://bugs.python.org/11689">Issue #11689</a>: Fix a variable scoping error in an sqlite3 test</li>
<li><a class="reference external" href="https://bugs.python.org/13786">Issue #13786</a>: Remove unimplemented &#8216;trace&#8217; long option from regrtest.py.</li>
<li><a class="reference external" href="https://bugs.python.org/13725">Issue #13725</a>: Fix regrtest to recognize the documented -d flag.
Patch by Erno Tukia.</li>
<li><a class="reference external" href="https://bugs.python.org/13304">Issue #13304</a>: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)</li>
<li><a class="reference external" href="https://bugs.python.org/5661">Issue #5661</a>: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
by Xavier de Gaye.</li>
<li><a class="reference external" href="https://bugs.python.org/13218">Issue #13218</a>: Fix test_ssl failures on Debian/Ubuntu.</li>
<li>Re-enable lib2to3&#8217;s test_parser.py tests, though with an expected failure
(see <a class="reference external" href="https://bugs.python.org/13125">issue #13125</a>).</li>
<li><a class="reference external" href="https://bugs.python.org/12656">Issue #12656</a>: Add tests for IPv6 and Unix sockets to test_asyncore.</li>
<li><a class="reference external" href="https://bugs.python.org/6484">Issue #6484</a>: Add unit tests for mailcap module (patch by Gregory Nofi)</li>
<li><a class="reference external" href="https://bugs.python.org/11651">Issue #11651</a>: Improve the Makefile test targets to run more of the test suite
more quickly. The &#8211;multiprocess option is now enabled by default, reducing
the amount of time needed to run the tests. &#8220;make test&#8221; and &#8220;make quicktest&#8221;
now include some resource-intensive tests, but no longer run the test suite
twice to check for bugs in .pyc generation. Tools/scripts/run_test.py provides
an easy platform-independent way to run test suite with sensible defaults.</li>
<li><a class="reference external" href="https://bugs.python.org/12331">Issue #12331</a>: The test suite for the packaging module can now run from an
installed Python.</li>
<li><a class="reference external" href="https://bugs.python.org/12331">Issue #12331</a>: The test suite for lib2to3 can now run from an installed
Python.</li>
<li><a class="reference external" href="https://bugs.python.org/12626">Issue #12626</a>: In regrtest, allow to filter tests using a glob filter
with the <tt class="docutils literal"><span class="pre">-m</span></tt> (or <tt class="docutils literal"><span class="pre">--match</span></tt>) option.  This works with all test cases
using the unittest module.  This is useful with long test suites
such as test_io or test_subprocess.</li>
<li><a class="reference external" href="https://bugs.python.org/12624">Issue #12624</a>: It is now possible to fail after the first failure when
running in verbose mode (<tt class="docutils literal"><span class="pre">-v</span></tt> or <tt class="docutils literal"><span class="pre">-W</span></tt>), by using the <tt class="docutils literal"><span class="pre">--failfast</span></tt>
(or <tt class="docutils literal"><span class="pre">-G</span></tt>) option to regrtest.  This is useful with long test suites
such as test_io or test_subprocess.</li>
<li><a class="reference external" href="https://bugs.python.org/12587">Issue #12587</a>: Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)</li>
<li><a class="reference external" href="https://bugs.python.org/12573">Issue #12573</a>: Add resource checks for dangling Thread and Process objects.</li>
<li><a class="reference external" href="https://bugs.python.org/12549">Issue #12549</a>: Correct test_platform to not fail when OS X returns &#8216;x86_64&#8217;
as the processor type on some Mac systems.</li>
<li>Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.</li>
<li><a class="reference external" href="https://bugs.python.org/11812">Issue #11812</a>: Solve transient socket failure to connect to &#8216;localhost&#8217;
in test_telnetlib.py.</li>
<li>Solved a potential deadlock in test_telnetlib.py. Related to <a class="reference external" href="https://bugs.python.org/11812">issue #11812</a>.</li>
<li>Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.</li>
<li>Avoid failing in test_urllibnet.test_bad_address when some overzealous
DNS service (e.g. OpenDNS) resolves a non-existent domain name.  The test
is now skipped instead.</li>
<li><a class="reference external" href="https://bugs.python.org/12440">Issue #12440</a>: When testing whether some bits in SSLContext.options can be
reset, check the version of the OpenSSL headers Python was compiled against,
rather than the runtime version of the OpenSSL library.</li>
<li><a class="reference external" href="https://bugs.python.org/11512">Issue #11512</a>: Add a test suite for the cgitb module. Patch by Robbie Clemons.</li>
<li><a class="reference external" href="https://bugs.python.org/12497">Issue #12497</a>: Install test/data to prevent failures of the various codecmaps
tests.</li>
<li><a class="reference external" href="https://bugs.python.org/12496">Issue #12496</a>: Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.</li>
<li><a class="reference external" href="https://bugs.python.org/12469">Issue #12469</a>: Run wakeup and pending signal tests in a subprocess to run the
test in a fresh process with only one thread and to not change signal
handling of the parent process.</li>
<li><a class="reference external" href="https://bugs.python.org/8716">Issue #8716</a>: Avoid crashes caused by Aqua Tk on OSX when attempting to run
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).</li>
<li><a class="reference external" href="https://bugs.python.org/12407">Issue #12407</a>: Explicitly skip test_capi.EmbeddingTest under Windows.</li>
<li><a class="reference external" href="https://bugs.python.org/12400">Issue #12400</a>: regrtest -W doesn&#8217;t rerun the tests twice anymore, but captures
the output and displays it on failure instead. regrtest -v doesn&#8217;t print the
error twice anymore if there is only one error.</li>
<li><a class="reference external" href="https://bugs.python.org/12141">Issue #12141</a>: Install copies of template C module file so that
test_build_ext of test_distutils and test_command_build_ext of
test_packaging are no longer silently skipped when
run outside of a build directory.</li>
<li><a class="reference external" href="https://bugs.python.org/8746">Issue #8746</a>: Add additional tests for os.chflags() and os.lchflags().
Patch by Garrett Cooper.</li>
<li><a class="reference external" href="https://bugs.python.org/10736">Issue #10736</a>: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
2.8+ on Mac OS X.  (Patch by Ronald Oussoren)</li>
<li><a class="reference external" href="https://bugs.python.org/12057">Issue #12057</a>: Add tests for ISO 2022 codecs (iso2022_jp, iso2022_jp_2,
iso2022_kr).</li>
<li><a class="reference external" href="https://bugs.python.org/12096">Issue #12096</a>: Fix a race condition in test_threading.test_waitfor(). Patch
written by Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/11614">Issue #11614</a>: import __hello__ prints &#8220;Hello World!&#8221;. Patch written by
Andreas Stührk.</li>
<li><a class="reference external" href="https://bugs.python.org/5723">Issue #5723</a>: Improve json tests to be executed with and without accelerations.</li>
<li><a class="reference external" href="https://bugs.python.org/12041">Issue #12041</a>: Make test_wait3 more robust.</li>
<li><a class="reference external" href="https://bugs.python.org/11873">Issue #11873</a>: Change regex in test_compileall to fix occasional failures when
when the randomly generated temporary path happened to match the regex.</li>
<li><a class="reference external" href="https://bugs.python.org/11958">Issue #11958</a>: Fix FTP tests for IPv6, bind to &#8221;::1&#8221; instead of &#8220;localhost&#8221;.
Patch written by Charles-Francois Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/8407">Issue #8407</a>, #11859: Fix tests of test_io using threads and an alarm: use
pthread_sigmask() to ensure that the SIGALRM signal is received by the main
thread.</li>
<li><a class="reference external" href="https://bugs.python.org/11811">Issue #11811</a>: Factor out detection of IPv6 support on the current host
and make it available as <tt class="docutils literal"><span class="pre">test.support.IPV6_ENABLED</span></tt>.  Patch by
Charles-François Natali.</li>
<li><a class="reference external" href="https://bugs.python.org/10914">Issue #10914</a>: Add a minimal embedding test to test_capi.</li>
<li><a class="reference external" href="https://bugs.python.org/11223">Issue #11223</a>: Skip test_lock_acquire_interruption() and
test_rlock_acquire_interruption() of test_threadsignals if a thread lock is
implemented using a POSIX mutex and a POSIX condition variable. A POSIX
condition variable cannot be interrupted by a signal (e.g. on Linux, the
futex system call is restarted).</li>
<li><a class="reference external" href="https://bugs.python.org/11790">Issue #11790</a>: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.</li>
<li>Fix possible &#8220;file already exists&#8221; error when running the tests in parallel.</li>
<li><a class="reference external" href="https://bugs.python.org/11719">Issue #11719</a>: Fix message about unexpected test_msilib skip on non-Windows
platforms. Patch by Nadeem Vawda.</li>
<li><a class="reference external" href="https://bugs.python.org/11727">Issue #11727</a>: Add a &#8211;timeout option to regrtest: if a test takes more than
TIMEOUT seconds, dumps the traceback of all threads and exits.</li>
<li><a class="reference external" href="https://bugs.python.org/11653">Issue #11653</a>: fix -W with -j in regrtest.</li>
<li>The email test suite now lives in the Lib/test/test_email package.  The test
harness code has also been modernized to allow use of new unittest features.</li>
<li>regrtest now discovers test packages as well as test modules.</li>
<li><a class="reference external" href="https://bugs.python.org/11577">Issue #11577</a>: improve test coverage of binhex.py. Patch by Arkady Koplyarov.</li>
<li>New test_crashers added to exercise the scripts in the Lib/test/crashers
directory and confirm they fail as expected</li>
<li><a class="reference external" href="https://bugs.python.org/11578">Issue #11578</a>: added test for the timeit module.  Patch by Michael Henry.</li>
<li><a class="reference external" href="https://bugs.python.org/11503">Issue #11503</a>: improve test coverage of posixpath.py. Patch by Evan Dandrea.</li>
<li><a class="reference external" href="https://bugs.python.org/11505">Issue #11505</a>: improves test coverage of string.py, increases granularity of
string.Formatter tests. Initial patch by Alicia Arlen.</li>
<li><a class="reference external" href="https://bugs.python.org/11548">Issue #11548</a>: Improve test coverage of the shutil module. Patch by
Evan Dandrea.</li>
<li><a class="reference external" href="https://bugs.python.org/11554">Issue #11554</a>: Reactivated test_email_codecs.</li>
<li><a class="reference external" href="https://bugs.python.org/11505">Issue #11505</a>: improves test coverage of string.py. Patch by Alicia
Arlen</li>
<li><a class="reference external" href="https://bugs.python.org/11490">Issue #11490</a>: test_subprocess.test_leaking_fds_on_error no longer gives a
false positive if the last directory in the path is inaccessible.</li>
<li><a class="reference external" href="https://bugs.python.org/11223">Issue #11223</a>: Fix test_threadsignals to fail, not hang, when the
non-semaphore implementation of locks is used under POSIX.</li>
<li><a class="reference external" href="https://bugs.python.org/10911">Issue #10911</a>: Add tests on CGI with non-ASCII characters. Patch written by
Pierre Quentel.</li>
<li><a class="reference external" href="https://bugs.python.org/9931">Issue #9931</a>: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.</li>
<li><a class="reference external" href="https://bugs.python.org/10512">Issue #10512</a>: Properly close sockets under test.test_cgi.</li>
<li><a class="reference external" href="https://bugs.python.org/10992">Issue #10992</a>: Make tests pass under coverage.</li>
<li><a class="reference external" href="https://bugs.python.org/10826">Issue #10826</a>: Prevent sporadic failure in test_subprocess on Solaris due
to open door files.</li>
<li><a class="reference external" href="https://bugs.python.org/10990">Issue #10990</a>: Prevent tests from clobbering a set trace function.</li>
</ul>
</div>
<div class="section" id="id154">
<h3>C-API<a class="headerlink" href="#id154" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/13452">Issue #13452</a>: PyUnicode_EncodeDecimal() doesn&#8217;t support error handlers
different than &#8220;strict&#8221; anymore. The caller was unable to compute the
size of the output buffer: it depends on the error handler.</li>
<li><a class="reference external" href="https://bugs.python.org/13560">Issue #13560</a>: Add PyUnicode_DecodeLocale(), PyUnicode_DecodeLocaleAndSize()
and PyUnicode_EncodeLocale() functions to the C API to decode/encode from/to
the current locale encoding.</li>
<li><a class="reference external" href="https://bugs.python.org/10831">Issue #10831</a>: PyUnicode_FromFormat() supports %li, %lli and %zi formats.</li>
<li><a class="reference external" href="https://bugs.python.org/11246">Issue #11246</a>: Fix PyUnicode_FromFormat(&#8220;%V&#8221;) to decode the byte string from
UTF-8 (with replace error handler) instead of ISO-8859-1 (in strict mode).
Patch written by Ray Allen.</li>
<li><a class="reference external" href="https://bugs.python.org/10830">Issue #10830</a>: Fix PyUnicode_FromFormatV(&#8220;%c&#8221;) for non-BMP characters on
narrow build.</li>
<li>Add PyObject_GenericGetDict and PyObject_GeneriSetDict. They are generic
implementations for the getter and setter of a <tt class="docutils literal"><span class="pre">__dict__</span></tt> descriptor of C
types.</li>
<li><a class="reference external" href="https://bugs.python.org/13727">Issue #13727</a>: Add 3 macros to access PyDateTime_Delta members:
PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS,
PyDateTime_DELTA_GET_MICROSECONDS.</li>
<li><a class="reference external" href="https://bugs.python.org/10542">Issue #10542</a>: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE,
Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE,
Py_UNICODE_JOIN_SURROGATES.</li>
<li><a class="reference external" href="https://bugs.python.org/12724">Issue #12724</a>: Add Py_RETURN_NOTIMPLEMENTED macro for returning NotImplemented.</li>
<li>PY_PATCHLEVEL_REVISION has been removed, since it&#8217;s meaningless with
Mercurial.</li>
<li><a class="reference external" href="https://bugs.python.org/12173">Issue #12173</a>: The first argument of PyImport_ImportModuleLevel is now <tt class="xref py py-obj docutils literal"><span class="pre">const</span>
<span class="pre">char</span> <span class="pre">*</span></tt> instead of <tt class="xref py py-obj docutils literal"><span class="pre">char</span> <span class="pre">*</span></tt>.</li>
<li><a class="reference external" href="https://bugs.python.org/12380">Issue #12380</a>: PyArg_ParseTuple now accepts a bytearray for the &#8216;c&#8217; format.</li>
</ul>
</div>
<div class="section" id="id155">
<h3>Documentation<a class="headerlink" href="#id155" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><a class="reference external" href="https://bugs.python.org/23006">Issue #23006</a>: Improve the documentation and indexing of dict.__missing__.
Add an entry in the language datamodel special methods section.
Revise and index its discussion in the stdtypes mapping/dict section.</li>
<li><a class="reference external" href="https://bugs.python.org/13989">Issue #13989</a>: Document that GzipFile does not support text mode, and give a
more helpful error message when opened with an invalid mode string.</li>
<li><a class="reference external" href="https://bugs.python.org/13921">Issue #13921</a>: Undocument and clean up sqlite3.OptimizedUnicode,
which is obsolete in Python 3.x. It&#8217;s now aliased to str for
backwards compatibility.</li>
<li><a class="reference external" href="https://bugs.python.org/12102">Issue #12102</a>: Document that buffered files must be flushed before being used
with mmap. Patch by Steffen Daode Nurpmeso.</li>
<li><a class="reference external" href="https://bugs.python.org/8982">Issue #8982</a>: Improve the documentation for the argparse Namespace object.</li>
<li><a class="reference external" href="https://bugs.python.org/9343">Issue #9343</a>: Document that argparse parent parsers must be configured before
their children.</li>
<li><a class="reference external" href="https://bugs.python.org/13498">Issue #13498</a>: Clarify docs of os.makedirs()&#8217;s exist_ok argument.  Done with
great native-speaker help from R. David Murray.</li>
<li>Issues #13491 and #13995: Fix many errors in sqlite3 documentation.
Initial patch for #13491 by Johannes Vogel.</li>
<li><a class="reference external" href="https://bugs.python.org/13402">Issue #13402</a>: Document absoluteness of sys.executable.</li>
<li><a class="reference external" href="https://bugs.python.org/13883">Issue #13883</a>: PYTHONCASEOK also works on OS X.</li>
<li><a class="reference external" href="https://bugs.python.org/9021">Issue #9021</a>: Add an introduction to the copy module documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/6005">Issue #6005</a>: Examples in the socket library documentation use sendall, where
relevant, instead send method.</li>
<li><a class="reference external" href="https://bugs.python.org/12798">Issue #12798</a>: Updated the mimetypes documentation.</li>
<li><a class="reference external" href="https://bugs.python.org/12949">Issue #12949</a>: Document the kwonlyargcount argument for the PyCode_New
C API function.</li>
<li><a class="reference external" href="https://bugs.python.org/13513">Issue #13513</a>: Fix io.IOBase documentation to correctly link to the
io.IOBase.readline method instead of the readline module.</li>
<li><a class="reference external" href="https://bugs.python.org/13237">Issue #13237</a>: Reorganise subprocess documentation to emphasise convenience
functions and the most commonly needed arguments to Popen.</li>
<li><a class="reference external" href="https://bugs.python.org/13141">Issue #13141</a>: Demonstrate recommended style for socketserver examples.</li>
<li><a class="reference external" href="https://bugs.python.org/11818">Issue #11818</a>: Fix tempfile examples for Python 3.</li>
</ul>
<p><strong>(For information about older versions, consult the HISTORY file.)</strong></p>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../contents.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Changelog</a><ul>
<li><a class="reference internal" href="#python-3-4-4rc1">Python 3.4.4rc1</a><ul>
<li><a class="reference internal" href="#core-and-builtins">Core and Builtins</a></li>
<li><a class="reference internal" href="#library">Library</a></li>
<li><a class="reference internal" href="#idle">IDLE</a></li>
<li><a class="reference internal" href="#tests">Tests</a></li>
<li><a class="reference internal" href="#build">Build</a></li>
<li><a class="reference internal" href="#c-api">C API</a></li>
<li><a class="reference internal" href="#documentation">Documentation</a></li>
<li><a class="reference internal" href="#tools-demos">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-3">Python 3.4.3</a><ul>
<li><a class="reference internal" href="#id1">Core and Builtins</a></li>
<li><a class="reference internal" href="#id2">Library</a></li>
<li><a class="reference internal" href="#id3">IDLE</a></li>
<li><a class="reference internal" href="#id4">Tests</a></li>
<li><a class="reference internal" href="#id5">Build</a></li>
<li><a class="reference internal" href="#id6">C API</a></li>
<li><a class="reference internal" href="#id7">Documentation</a></li>
<li><a class="reference internal" href="#id8">Tools/Demos</a></li>
<li><a class="reference internal" href="#windows">Windows</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-2">Python 3.4.2</a><ul>
<li><a class="reference internal" href="#id9">Library</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-2rc1">Python 3.4.2rc1</a><ul>
<li><a class="reference internal" href="#id10">Core and Builtins</a></li>
<li><a class="reference internal" href="#id11">Library</a></li>
<li><a class="reference internal" href="#extension-modules">Extension Modules</a></li>
<li><a class="reference internal" href="#id12">Build</a></li>
<li><a class="reference internal" href="#id13">IDLE</a></li>
<li><a class="reference internal" href="#id14">Tests</a></li>
<li><a class="reference internal" href="#id15">Documentation</a></li>
<li><a class="reference internal" href="#id16">Windows</a></li>
<li><a class="reference internal" href="#id17">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-1">Python 3.4.1</a><ul>
<li><a class="reference internal" href="#id18">Core and Builtins</a></li>
<li><a class="reference internal" href="#id19">Library</a></li>
<li><a class="reference internal" href="#id20">Tests</a></li>
<li><a class="reference internal" href="#id21">IDLE</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-1rc1">Python 3.4.1rc1</a><ul>
<li><a class="reference internal" href="#id22">Core and Builtins</a></li>
<li><a class="reference internal" href="#id23">Library</a></li>
<li><a class="reference internal" href="#id24">Extension Modules</a></li>
<li><a class="reference internal" href="#id25">IDLE</a></li>
<li><a class="reference internal" href="#id26">Build</a></li>
<li><a class="reference internal" href="#id27">C API</a></li>
<li><a class="reference internal" href="#id28">Documentation</a></li>
<li><a class="reference internal" href="#id29">Tests</a></li>
<li><a class="reference internal" href="#id30">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0">Python 3.4.0</a><ul>
<li><a class="reference internal" href="#id31">Library</a></li>
<li><a class="reference internal" href="#id32">Documentation</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-release-candidate-3">Python 3.4.0 release candidate 3</a><ul>
<li><a class="reference internal" href="#id33">Core and Builtins</a></li>
<li><a class="reference internal" href="#id34">Library</a></li>
<li><a class="reference internal" href="#id35">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-release-candidate-2">Python 3.4.0 release candidate 2</a><ul>
<li><a class="reference internal" href="#id36">Core and Builtins</a></li>
<li><a class="reference internal" href="#id37">Library</a></li>
<li><a class="reference internal" href="#id38">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-release-candidate-1">Python 3.4.0 release candidate 1</a><ul>
<li><a class="reference internal" href="#id39">Core and Builtins</a></li>
<li><a class="reference internal" href="#id40">Library</a></li>
<li><a class="reference internal" href="#id41">IDLE</a></li>
<li><a class="reference internal" href="#id42">Tests</a></li>
<li><a class="reference internal" href="#id43">Tools/Demos</a></li>
<li><a class="reference internal" href="#id44">Build</a></li>
<li><a class="reference internal" href="#id45">C-API</a></li>
<li><a class="reference internal" href="#id46">Documentation</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-beta-3">Python 3.4.0 Beta 3</a><ul>
<li><a class="reference internal" href="#id47">Core and Builtins</a></li>
<li><a class="reference internal" href="#id48">Library</a></li>
<li><a class="reference internal" href="#id49">IDLE</a></li>
<li><a class="reference internal" href="#id50">Tests</a></li>
<li><a class="reference internal" href="#id51">Tools/Demos</a></li>
<li><a class="reference internal" href="#id52">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-beta-2">Python 3.4.0 Beta 2</a><ul>
<li><a class="reference internal" href="#id53">Core and Builtins</a></li>
<li><a class="reference internal" href="#id54">Library</a></li>
<li><a class="reference internal" href="#id55">IDLE</a></li>
<li><a class="reference internal" href="#id56">Tests</a></li>
<li><a class="reference internal" href="#id57">Build</a></li>
<li><a class="reference internal" href="#id58">Documentation</a></li>
<li><a class="reference internal" href="#id59">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-beta-1">Python 3.4.0 Beta 1</a><ul>
<li><a class="reference internal" href="#id60">Core and Builtins</a></li>
<li><a class="reference internal" href="#id61">Library</a></li>
<li><a class="reference internal" href="#id62">Tests</a></li>
<li><a class="reference internal" href="#id63">Documentation</a></li>
<li><a class="reference internal" href="#id64">Build</a></li>
<li><a class="reference internal" href="#id65">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-alpha-4">Python 3.4.0 Alpha 4</a><ul>
<li><a class="reference internal" href="#id66">Core and Builtins</a></li>
<li><a class="reference internal" href="#id67">Library</a></li>
<li><a class="reference internal" href="#id68">C API</a></li>
<li><a class="reference internal" href="#id69">Tests</a></li>
<li><a class="reference internal" href="#id70">Documentation</a></li>
<li><a class="reference internal" href="#id71">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-alpha-3">Python 3.4.0 Alpha 3</a><ul>
<li><a class="reference internal" href="#id72">Core and Builtins</a></li>
<li><a class="reference internal" href="#id73">Library</a></li>
<li><a class="reference internal" href="#id74">Tests</a></li>
<li><a class="reference internal" href="#id75">IDLE</a></li>
<li><a class="reference internal" href="#id76">Documentation</a></li>
<li><a class="reference internal" href="#id77">Build</a></li>
<li><a class="reference internal" href="#id78">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-alpha-2">Python 3.4.0 Alpha 2</a><ul>
<li><a class="reference internal" href="#id79">Core and Builtins</a></li>
<li><a class="reference internal" href="#id80">Library</a></li>
<li><a class="reference internal" href="#id81">Tests</a></li>
<li><a class="reference internal" href="#id82">IDLE</a></li>
<li><a class="reference internal" href="#id83">Documentation</a></li>
<li><a class="reference internal" href="#id84">Build</a></li>
<li><a class="reference internal" href="#id85">Tools/Demos</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-4-0-alpha-1">Python 3.4.0 Alpha 1</a><ul>
<li><a class="reference internal" href="#id86">Core and Builtins</a></li>
<li><a class="reference internal" href="#id87">Library</a></li>
<li><a class="reference internal" href="#id88">IDLE</a></li>
<li><a class="reference internal" href="#id89">Tests</a></li>
<li><a class="reference internal" href="#id90">Build</a></li>
<li><a class="reference internal" href="#id91">C-API</a></li>
<li><a class="reference internal" href="#id92">Documentation</a></li>
<li><a class="reference internal" href="#id93">Tools/Demos</a></li>
<li><a class="reference internal" href="#id94">Windows</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0">Python 3.3.0</a><ul>
<li><a class="reference internal" href="#id95">Core and Builtins</a></li>
<li><a class="reference internal" href="#id96">Extension Modules</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-release-candidate-3">Python 3.3.0 Release Candidate 3</a><ul>
<li><a class="reference internal" href="#id97">Core and Builtins</a></li>
<li><a class="reference internal" href="#id98">Library</a></li>
<li><a class="reference internal" href="#id99">Extension Modules</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-release-candidate-2">Python 3.3.0 Release Candidate 2</a><ul>
<li><a class="reference internal" href="#id100">Core and Builtins</a></li>
<li><a class="reference internal" href="#id101">Library</a></li>
<li><a class="reference internal" href="#id102">Build</a></li>
<li><a class="reference internal" href="#id103">Documentation</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-release-candidate-1">Python 3.3.0 Release Candidate 1</a><ul>
<li><a class="reference internal" href="#id104">Core and Builtins</a></li>
<li><a class="reference internal" href="#id105">Library</a></li>
<li><a class="reference internal" href="#id106">IDLE</a></li>
<li><a class="reference internal" href="#id107">Documentation</a></li>
<li><a class="reference internal" href="#id108">Tests</a></li>
<li><a class="reference internal" href="#id109">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-beta-2">Python 3.3.0 Beta 2</a><ul>
<li><a class="reference internal" href="#id110">Core and Builtins</a></li>
<li><a class="reference internal" href="#id111">Library</a></li>
<li><a class="reference internal" href="#id112">C API</a></li>
<li><a class="reference internal" href="#id113">Extension Modules</a></li>
<li><a class="reference internal" href="#id114">IDLE</a></li>
<li><a class="reference internal" href="#id115">Tools/Demos</a></li>
<li><a class="reference internal" href="#id116">Documentation</a></li>
<li><a class="reference internal" href="#id117">Tests</a></li>
<li><a class="reference internal" href="#id118">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-beta-1">Python 3.3.0 Beta 1</a><ul>
<li><a class="reference internal" href="#id119">Core and Builtins</a></li>
<li><a class="reference internal" href="#id120">Library</a></li>
<li><a class="reference internal" href="#id121">C-API</a></li>
<li><a class="reference internal" href="#id122">Extension Modules</a></li>
<li><a class="reference internal" href="#id123">IDLE</a></li>
<li><a class="reference internal" href="#id124">Documentation</a></li>
<li><a class="reference internal" href="#id125">Tests</a></li>
<li><a class="reference internal" href="#id126">Build</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-alpha-4">Python 3.3.0 Alpha 4</a><ul>
<li><a class="reference internal" href="#id127">Core and Builtins</a></li>
<li><a class="reference internal" href="#id128">Library</a></li>
<li><a class="reference internal" href="#id129">IDLE</a></li>
<li><a class="reference internal" href="#id130">Tools/Demos</a></li>
<li><a class="reference internal" href="#id131">Build</a></li>
<li><a class="reference internal" href="#id132">C-API</a></li>
<li><a class="reference internal" href="#id133">Documentation</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-alpha-3">Python 3.3.0 Alpha 3</a><ul>
<li><a class="reference internal" href="#id134">Core and Builtins</a></li>
<li><a class="reference internal" href="#id135">Library</a></li>
<li><a class="reference internal" href="#id136">Build</a></li>
<li><a class="reference internal" href="#id137">Tests</a></li>
<li><a class="reference internal" href="#id138">IDLE</a></li>
<li><a class="reference internal" href="#id139">Tools / Demos</a></li>
<li><a class="reference internal" href="#id140">C-API</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-alpha-2">Python 3.3.0 Alpha 2</a><ul>
<li><a class="reference internal" href="#id141">Core and Builtins</a></li>
<li><a class="reference internal" href="#id142">Library</a></li>
<li><a class="reference internal" href="#id143">Build</a></li>
<li><a class="reference internal" href="#id144">Documentation</a></li>
<li><a class="reference internal" href="#id145">Extension Modules</a></li>
<li><a class="reference internal" href="#id146">Tests</a></li>
</ul>
</li>
<li><a class="reference internal" href="#python-3-3-0-alpha-1">Python 3.3.0 Alpha 1</a><ul>
<li><a class="reference internal" href="#id147">Core and Builtins</a></li>
<li><a class="reference internal" href="#id148">Library</a></li>
<li><a class="reference internal" href="#id149">Build</a></li>
<li><a class="reference internal" href="#id150">IDLE</a></li>
<li><a class="reference internal" href="#id151">Tools/Demos</a></li>
<li><a class="reference internal" href="#id152">Extension Modules</a></li>
<li><a class="reference internal" href="#id153">Tests</a></li>
<li><a class="reference internal" href="#id154">C-API</a></li>
<li><a class="reference internal" href="#id155">Documentation</a></li>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="2.0.html"
                        title="previous chapter">What&#8217;s New in Python 2.0</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="../tutorial/index.html"
                        title="next chapter">The Python Tutorial</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
  <li><a href="../bugs.html">Report a Bug</a></li>
  <li><a href="../_sources/whatsnew/changelog.txt"
         rel="nofollow">Show Source</a></li>
</ul>

<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>  
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="../tutorial/index.html" title="The Python Tutorial"
             >next</a> |</li>
        <li class="right" >
          <a href="2.0.html" title="What’s New in Python 2.0"
             >previous</a> |</li>
        <li><img src="../_static/py.png" alt=""
                 style="vertical-align: middle; margin-top: -1px"/></li>
        <li><a href="https://www.python.org/">Python</a> &raquo;</li>
        <li>
          <span class="version_switcher_placeholder">3.4.3</span>
          <a href="../index.html">Documentation</a> &raquo;
        </li>

          <li><a href="index.html" >What&#8217;s New in Python</a> &raquo;</li> 
      </ul>
    </div>  
    <div class="footer">
    &copy; <a href="../copyright.html">Copyright</a> 1990-2015, Python Software Foundation.
    <br />
    The Python Software Foundation is a non-profit corporation.
    <a href="https://www.python.org/psf/donations/">Please donate.</a>
    <br />
    Last updated on Sep 08, 2015.
    <a href="../bugs.html">Found a bug</a>?
    <br />
    Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.2.3.
    </div>

  </body>
</html>